Wireshark-commits: [Wireshark-commits] master 8c86f3b: infiniband: fix error for clobbered variable
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 3 Jan 2017 13:31:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8c86f3b0a386b6d13f56d3fbf6d9076bfa0419d2
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8c86f3b by Dario Lombardo (lomato@xxxxxxxxx):

    infiniband: fix error for clobbered variable.
    
    Given by gcc-4.9.2 on arm:
    
    epan/dissectors/packet-infiniband.c:2708:9: error: variable ‘offset’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
         int offset = 0;
             ^
    cc1: all warnings being treated as errors
    
    Change-Id: I12066031093c1fa638792ff8be8f3f5457e3feda
    Reviewed-on: https://code.wireshark.org/review/19515
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  13851f3   ISAKMP: add Reserved fields
    adds  8c86f3b   infiniband: fix error for clobbered variable.


Summary of changes:
 epan/dissectors/packet-infiniband.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)