Wireshark-commits: [Wireshark-commits] master 001a81b: ieee802154: Make a variable volatile

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 21 Sep 2018 12:52:14 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=001a81bace06c8f3c92f0a2c375746312f88dd25
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

001a81b by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    ieee802154: Make a variable volatile
    
    This fixes a warning:
    [...]/epan/dissectors/packet-ieee802154.c:3196:17: error: variable ‘length’ might
    be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
             guint16 length = (guint16) (ie_header & IEEE802154_PAYLOAD_IE_LENGTH_MASK);
    
    Change-Id: I556b2199f8ab028e87e4c9d868da9831f7076402
    Reviewed-on: https://code.wireshark.org/review/29779
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  993800b   QUIC: improve Info column and packet details when decryption fails
     add  001a81b   ieee802154: Make a variable volatile


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