ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Possible bug in h.245 dissector

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 24 Apr 2008 01:24:02 +0200
I'm seeing the following message during compilation:
packet-h245-template.c:354: warning: unused variable dummy_srtp_info

The code:
        if (upcoming_channel->srtp_flag) {
                struct srtp_info *dummy_srtp_info = se_alloc0(sizeof(struct srtp_info))
;
        }

So this instance is valid for just that single line, the outer dummy_srtp_info
is ignored. Can someone who knows this dissector please fix this?

Ciao
     Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.