Wireshark-commits: [Wireshark-commits] master-2.0 0cb1216: SpeexDSP: Work around self assignments.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 1 Dec 2015 00:22:09 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0cb12164232cad6e17c37bb6aa3780cef276acf2
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

0cb1216 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    SpeexDSP: Work around self assignments.
    
    Disable -Wself-assign in speex/resample.c. Many macros (particularly
    SATURATE32PSHR) simply return the first argument.
    
    Change-Id: I3a8557833343e7b213031359e94af90d32d9f082
    Reviewed-on: https://code.wireshark.org/review/12315
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit d487c8c7e72666d5e926c4c6a499a0821796c694)
    Reviewed-on: https://code.wireshark.org/review/12319
    

Actions performed:

    from  7abfa36   Fix out-of-bounds read in ascend_seek.
    adds  0cb1216   SpeexDSP: Work around self assignments.


Summary of changes:
 codecs/speex/resample.c |    6 ++++++
 1 file changed, 6 insertions(+)