Ethereal-dev: Re: [Ethereal-dev] Update for NDPS dissector

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 21 Apr 2003 15:01:17 -0700
On Mon, Apr 21, 2003 at 09:58:58AM -0600, Greg Morris wrote:
> This update includes:

Some warnings from GCC (other than the many warnings about the upper 32
bits of object IDs being discarded):

packet-ndps.c: In function `objectidentifier':
packet-ndps.c:1627: warning: `label' might be used uninitialized in this
    function
packet-ndps.c: In function `name_or_id':
packet-ndps.c:1792: warning: unused variable `length'
packet-ndps.c: In function `objectidentification':
packet-ndps.c:1838: warning: unused variable `length'
packet-ndps.c:1837: warning: unused variable `qualified_name_type'
packet-ndps.c:1835: warning: unused variable `object_count'
packet-ndps.c:1834: warning: unused variable `h'
packet-ndps.c: In function `address_item':
packet-ndps.c:1934: warning: unused variable `octet_len'
packet-ndps.c:1933: warning: unused variable `transport_type'
packet-ndps.c:1932: warning: unused variable `qualified_name_type'
packet-ndps.c: In function `credentials':
packet-ndps.c:1997: warning: comparison between signed and unsigned
packet-ndps.c: In function `event_object_set':
packet-ndps.c:2075: warning: comparison between signed and unsigned
packet-ndps.c:2099: warning: comparison between signed and unsigned
packet-ndps.c: In function `cardinal_seq':
packet-ndps.c:2124: warning: comparison between signed and unsigned
packet-ndps.c: In function `server_entry':
packet-ndps.c:2160: warning: comparison between signed and unsigned
packet-ndps.c: In function `attribute_value':
packet-ndps.c:2228: warning: unused variable `citem'
packet-ndps.c:2227: warning: unused variable `ctree'
packet-ndps.c:2206: warning: unused variable `qualified_name_type'
packet-ndps.c:2200: warning: unused variable `h'
packet-ndps.c: In function `commonarguments':
packet-ndps.c:3261: warning: comparison between signed and unsigned
packet-ndps.c: In function `ndps_defrag':
packet-ndps.c:3688: warning: unused variable `id'
packet-ndps.c: In function `dissect_ndps_request':
packet-ndps.c:3976: warning: comparison between signed and unsigned
packet-ndps.c:5331: warning: comparison between signed and unsigned
packet-ndps.c:3855: warning: unused variable `data_type'
packet-ndps.c:3854: warning: unused variable `qualified_name_type'
packet-ndps.c:3848: warning: unused variable `name_len'
packet-ndps.c: In function `ndps_error':
packet-ndps.c:5724: warning: comparison between signed and unsigned
packet-ndps.c: In function `dissect_ndps_reply':
packet-ndps.c:5959: warning: comparison between signed and unsigned
packet-ndps.c:6832: warning: comparison between signed and unsigned
packet-ndps.c:5813: warning: unused variable `data_type'
packet-ndps.c:5812: warning: unused variable `qualified_name_type'
packet-ndps.c:5810: warning: unused variable `field_len'
packet-ndps.c:5809: warning: unused variable `problem_type'
packet-ndps.c: At top level:
packet-ndps.c:3272: warning: `filteritem' defined but not used