Ethereal-dev: Re: [Ethereal-dev] An updated RMT patch

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 14 Jan 2005 03:26:13 -0800
Guy Harris wrote:
Stefano Pettini wrote:

This is an updated version of Reliable Multicast Transport dissectors (for ALC and NORM protocols).

Checked in.

Some warnings:

packet-rmt-fec.c: In function `fec_dissector_free':
packet-rmt-fec.c:252: warning: unused parameter `fec'
packet-rmt-fec.c: In function `fec_prefs_set_default':
packet-rmt-fec.c:261: warning: unused parameter `prefs'
packet-rmt-fec.c: In function `fec_prefs_register':
packet-rmt-fec.c:267: warning: unused parameter `prefs'
packet-rmt-fec.c:267: warning: unused parameter `module'

If the intent is to have those routines remain even though they're currently not doing anything, the parameters should be tagged with _U_ (e.g., "struct _fec_prefs *prefs _U_") so that GCC doesn't warn about them being unused.