summaryrefslogtreecommitdiff
path: root/cel
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-03-28 12:48:09 +0000
committerMatthew Jordan <mjordan@digium.com>2015-03-28 12:48:09 +0000
commit2f6534527deef4dcc40001b93601761cf643a7c4 (patch)
treeff2e43c639c368d9477622bd993fbaa9b8101924 /cel
parenteb70993a50c5c85b61d7b1cf9e4a7d6e5eb9a901 (diff)
clang compiler warnings: Fix -Wself-assign
Assigning a variable to itself isn't super useful. However, the WAV format modules make use of this in order to perform byte endian checks. This patch works around the warning by only performing the self assignment if we are going to do more than just assign it to ourselves. Which is odd, but true. Review: https://reviewboard.asterisk.org/r/4544/ ASTERISK-24917 Reported by: dkdegroot patches: rb4544.patch submitted by dkdegroot (License 6600) ........ Merged revisions 433690 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cel')
0 files changed, 0 insertions, 0 deletions