Ethereal-dev: Re: [Ethereal-dev] Unused function parameters: Request for help

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

From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Tue, 02 Apr 2002 17:34:18 -0500
Here's a patch to clean up the one unused variable in packet-sccp.c .
Index: packet-sccp.c
===================================================================
RCS file: /cvsroot/ethereal/packet-sccp.c,v
retrieving revision 1.3
diff -u -r1.3 packet-sccp.c
--- packet-sccp.c	2002/03/06 17:56:28	1.3
+++ packet-sccp.c	2002/04/02 22:32:17
@@ -1464,8 +1464,8 @@
 
 
 static void
-dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_item *sccp_item,
-		     proto_tree *sccp_tree, proto_tree *tree)
+dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree,
+		     proto_tree *tree)
 {
   guint8 message_type;
   guint8 variable_pointer1 = 0, variable_pointer2 = 0, variable_pointer3 = 0;
@@ -1855,7 +1855,7 @@
   }
 
   /* dissect the message */
-  dissect_sccp_message(tvb, pinfo, sccp_item, sccp_tree, tree);
+  dissect_sccp_message(tvb, pinfo, sccp_tree, tree);
 }
 
 /* Register the protocol with Ethereal */
begin:vcard 
n:Morriss;Jeff
tel;fax:+1-856-222-9947
tel;work:+1-856-787-2824
x-mozilla-html:FALSE
url:http://www.ulticom.com
org:Ulticom, Inc.;Customer Support
version:2.1
email;internet:jeff.morriss[AT]ulticom.com
title:Senior Support Engineer
adr;quoted-printable:;;Ulticom, Inc.=0D=0A1020 Briggs Rd.=0D=0A;Mount Laurel;NJ;08054;USA
fn:Jeff Morriss
end:vcard