Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-cvs] cvs commit: ethereal packet-ndps.c
On Tue, Apr 08, 2003 at 08:16:58AM -0600, Greg Morris wrote:
> Thanks for the help in cleaning this up. Did you also fix the unused
> variables or do I need to do it.
I fixed the ones where I thought it was obvious that they were unneeded.
I don't know about the others:
packet-ndps.c: In function `name_or_id':
packet-ndps.c:1613: warning: unused variable `length'
packet-ndps.c: In function `objectidentification':
packet-ndps.c:1638: warning: unused variable `length'
packet-ndps.c:1635: warning: unused variable `object_count'
packet-ndps.c:1634: warning: unused variable `h'
packet-ndps.c: In function `attribute_value':
packet-ndps.c:1843: warning: unused variable `citem'
packet-ndps.c:1842: warning: unused variable `ctree'
packet-ndps.c:1841: warning: unused variable `bitem'
packet-ndps.c:1840: warning: unused variable `btree'
packet-ndps.c:1819: warning: unused variable `number_of_values'
packet-ndps.c:1816: warning: unused variable `h'
packet-ndps.c: In function `ndps_defrag':
packet-ndps.c:3307: warning: unused variable `id'
packet-ndps.c: In function `dissect_ndps_request':
packet-ndps.c:3693: warning: comparison between signed and unsigned
packet-ndps.c:5856: warning: comparison between signed and unsigned
packet-ndps.c: In function `ndps_error':
packet-ndps.c:6419: warning: comparison between signed and unsigned
packet-ndps.c: In function `dissect_ndps_reply':
packet-ndps.c:6639: warning: comparison between signed and unsigned
packet-ndps.c:7943: warning: comparison between signed and unsigned
packet-ndps.c:6485: warning: unused variable `field_len'
packet-ndps.c:6484: warning: unused variable `problem_type'
packet-ndps.c: At top level:
packet-ndps.c:2957: warning: `filteritem' defined but not used
which might reflect unneeded variables and functions ("filteritem" is a
function), or might reflect code that hasn't yet been written that would
use them.