ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master d094ca8: SNMP: Fix warning found by -Wunused-const-va

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 8 Nov 2014 20:54:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d094ca8bd9a558f3cf837a1bc6fc00a25b55b6e8
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d094ca8 by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    SNMP: Fix warning found by -Wunused-const-variable
    
    Change-Id: If3fcab128e3e6bce04f4922568ab7ff8575b01fe
    warning: unused variable 'smux_types' [-Wunused-const-variable]
    Reviewed-on: https://code.wireshark.org/review/5194
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  dea982b   PIM: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
    adds  d094ca8   SNMP: Fix warning found by -Wunused-const-variable


Summary of changes:
 asn1/snmp/packet-snmp-template.c |    2 ++
 epan/dissectors/packet-snmp.c    |   12 +++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)