Wireshark-commits: [Wireshark-commits] master f526468: Coverity CID 1167971-1167974: constant expre

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 4 Sep 2015 12:35:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f526468bd3598c6e1ad67a53e9471a210a90e46f
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f526468 by Hadriel Kaplan (hadrielk@xxxxxxxxx):

    Coverity CID 1167971-1167974: constant expressions in wslua_int64
    
    Get rid of false-positive coverity issues by using a macro instead
    of source code if-statement.
    
    Bug: 11501
    Change-Id: I07f478ed334931f05bdfb87cb8f614b16bbf8fa8
    Reviewed-on: https://code.wireshark.org/review/10376
    Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    

Actions performed:

    from  7c4f622   Insert correct padding in RFC 6282 IPHC headers
    adds  f526468   Coverity CID 1167971-1167974: constant expressions in wslua_int64


Summary of changes:
 epan/wslua/wslua_int64.c |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)