]> git.ipfire.org Git - thirdparty/asterisk.git/commit
clang compiler warnings: Fix non-literal-null-conversion warnings
authorMatthew Jordan <mjordan@digium.com>
Tue, 7 Apr 2015 02:03:20 +0000 (02:03 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 7 Apr 2015 02:03:20 +0000 (02:03 +0000)
commitc027133f6d564027ccbbfbbd21eddb9d17368439
tree0ee9cb8b92b9a0535b313671b0dadcdd75ece37e
parent2270c40d33827a605b500e7afe01be9976b1f5e0
clang compiler warnings: Fix non-literal-null-conversion warnings

Clang will flag errors when a char pointer is set to '\0', as opposed to a
value that the char pointer points to. This patch fixes this warning
in a variety of locations.

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

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/chan_skinny.c
res/stasis_recording/stored.c