Ethereal-dev: Re: [Ethereal-dev] gcc warnings about unused variables

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: 27 Feb 2002 12:55:17 -0600
On Wed, 2002-02-27 at 02:33, Guy Harris wrote:
> 
> I don't know whether "proto_find_protocol_multi()" and
> "traverse_subtree_for_field()" are left over from when the protocol tree
> code required items to be under a tree for the protocol to which they
> belong, or not.  (Gilbert?)
> 
> I'll let Gilbert look at the changes to stuff in "epan/dfilter".
> 

Thanks; yes, the were inadvertently left behind after I changed
the proto_tree search routines. In fact, a struct definition that is
no longer needed was also left behind.

Yes, the change to dfilter/semcheck.c was valid. Once again, I
thought that I would end up using a certain variable, and then didn't.

I've checked the changes in.

--gilbert