On Thu, Jun 26, 2003 at 03:16:53PM +0200, ch.wiest@xxxxxxxxxxxxx wrote:
> i modified the Megaco plugin. I attached packet-megaco.h, moduleinfo.h
> and the compiled megaco.dll.
> Please tell me, if something doesnt work.
Some warnings from GCC:
packet-megaco.c: In function `dissect_megaco_text':
packet-megaco.c:227: warning: unused variable `linelen'
packet-megaco.c:227: warning: unused variable `tvb_lineend'
packet-megaco.c:227: warning: unused variable `tvb_linebegin'
packet-megaco.c:226: warning: unused variable `letter'
packet-megaco.c: In function `dissect_megaco_descriptors':
packet-megaco.c:806: warning: unused variable `descriptors_ti'
packet-megaco.c:805: warning: unused variable `tvb_next_offset'
packet-megaco.c: In function `dissect_megaco_eventsdescriptor':
packet-megaco.c:1178: warning: `requested_event_start_offset' might be used uninitialized in this function
packet-megaco.c:1178: warning: `requested_event_end_offset' might be used uninitialized in this function
packet-megaco.c: In function `dissect_megaco_signaldescriptor':
packet-megaco.c:1319: warning: unused variable `tempchar'
packet-megaco.c:1320: warning: `requested_signal_start_offset' might be used uninitialized in this function
packet-megaco.c:1320: warning: `requested_signal_end_offset' might be used uninitialized in this function
packet-megaco.c: In function `dissect_megaco_observedeventsdescriptor':
packet-megaco.c:1512: warning: `requested_event_start_offset' might be used uninitialized in this function
packet-megaco.c:1512: warning: `requested_event_end_offset' might be used uninitialized in this function
packet-megaco.c: At top level:
packet-megaco.c:79: warning: `hf_megaco_Descriptors' defined but not used
Note the "might be used uninitialized" - is that, in fact, the case?