Ethereal-dev: Re: [Ethereal-dev] Some unused-{variable, function} warnings from GCC 3.3

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jeff Morriss <morriss@xxxxxxxxx>
Date: Wed, 25 Jun 2003 14:24:47 -0400
Guy Harris wrote:
3.3 appears to produce some warnings that earlier versions didn't; here's a list of unused variables/functions complaints it produced.
At least some of these might reflect as-yet-unimplemented bits of 
dissection, in which case the correct fix isn't to get rid of the 
variable, the correct fix is to implement those bits of dissection.  I'm 
inclined to leave those variables there as reminders of work to be done.
[...]

packet-sccp.c:532: warning: `sccp_isni_mark_for_id_values' defined but not used
packet-sccp.c:537: warning: `sccp_isni_iri_values' defined but not used
packet-sccp.c:546: warning: `sccp_isni_ti_values' defined but not used
These are a bug...  Patch is attached (untested since I've never seen an 
ISNI parameter, but hey...).

Attachment: packet-sccp.patch.gz
Description: GNU Zip compressed data