]> 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:40:49 +0000 (12:40 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 28 Mar 2015 12:40:49 +0000 (12:40 +0000)
commiteb70993a50c5c85b61d7b1cf9e4a7d6e5eb9a901
tree80da36acae051eaab8cf46f1cd7efbf2ed7f0213
parentc0ff16036a6619e819db95199e619505696f5556
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)
........

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

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