]> 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 01:58:57 +0000 (01:58 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 7 Apr 2015 01:58:57 +0000 (01:58 +0000)
commitc224c44a16130d7d7d2a086d7c660181345c9793
tree3904e22b5bfed0e82f3cae3c7dca3d4370c95369
parent5e46127e17c1a80a03f952c78e0414cf34dfdca7
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)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@434187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/chan_skinny.c