clang compiler warnings: Fix various warnings for tests
authorMatthew Jordan <mjordan@digium.com>
Sat, 11 Apr 2015 15:27:08 +0000 (15:27 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 11 Apr 2015 15:27:08 +0000 (15:27 +0000)
commit356b770632d34d6e64792bfc0427f4aec1676180
treef3d61cd9ad426acbd72218ff11ba349dbc784e48
parent5f181bcccd9f3309958f341c9fb9e9b0a307c2f9
clang compiler warnings: Fix various warnings for tests

This patch fixes a variety of clang compiler warnings for unit tests. This
includes autological comparison issues, ignored return values, and
interestingly enough, one embedded function. Fun!

Review: https://reviewboard.asterisk.org/r/4555

ASTERISK-24917
Reported by: dkdegroot
patches:
  rb4555.patch submitted by dkdegroot (License 6600)
........

Merged revisions 434705 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 434706 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
tests/test_acl.c
tests/test_sched.c
tests/test_stringfields.c
tests/test_strings.c