]> git.ipfire.org Git - thirdparty/asterisk.git/commit
clang compiler warnings: Fix -Wparantheses-equality warnings
authorMatthew Jordan <mjordan@digium.com>
Sat, 28 Mar 2015 12:39:08 +0000 (12:39 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 28 Mar 2015 12:39:08 +0000 (12:39 +0000)
commit844be81760b7198d83745c01c863768b434ac3ab
treeae5d9a995ce143df53ae9acd4e841f33b3338128
parentdc6249a2713a3aa1fd0c21ee20e1cfd9afbe1359
clang compiler warnings: Fix -Wparantheses-equality warnings

Clang will treat ((a == b)) as a warning, as it reasonably expects that the
developer may have intended to write (a == b) or ((a = b)). This patch cleans
up all instances where equality, not assignment, was intended between two
parantheses.

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

ASTERISK-24917
Repoted by: dkdegroot
patches:
  rb4531.patch submitted by dkdegroot (License 6600)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@433687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dictate.c
apps/app_voicemail.c
main/channel.c
res/Makefile
utils/Makefile