]> git.ipfire.org Git - thirdparty/asterisk.git/commit
LISTFILTER: Remove outdated ERROR message. 57/4757/1
authorRichard Mudgett <rmudgett@digium.com>
Sun, 22 Jan 2017 23:25:57 +0000 (17:25 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Sun, 22 Jan 2017 23:56:00 +0000 (17:56 -0600)
commitd0c508d53e6710a90210000cf1a5752068e05f35
treef1a55c890dfa86138cc165425863a872d6df025d
parenteef750d129ae324dd4e55fcb0fa01640807aec20
LISTFILTER: Remove outdated ERROR message.

Feeding LISTFILTER an empty variable results in an invalid ERROR message.
Earlier changes made the message useless because we can no longer tell if
the variable is empty or does not exist.  It is valid to try to remove a
value from an empty list just as it is valid to try to remove a value that
is not in a non-empty list.

* Removed the outdated ERROR message.

* Added more test cases to the LISTFILTER unit test.

Change-Id: Ided9040e6359c44a335ef54e02ef5950a1863134
funcs/func_strings.c
tests/test_substitution.c