Ethereal-dev: [Ethereal-dev] Two small warning fixes

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

Date Prev · Date Next · Thread Prev · Thread Next
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 31 May 2002 05:33:59 +0200
see changelog
--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
Changelog: <jmayer@xxxxxxxxx>
	packet-beep.c: ifdef out an unused function
	packet-dccp.c: comment out an unused variable

Index: ethereal/packet-beep.c
===================================================================
RCS file: /cvsroot/ethereal/packet-beep.c,v
retrieving revision 1.8
diff -u -r1.8 packet-beep.c
--- packet-beep.c	2002/04/29 09:40:05	1.8
+++ packet-beep.c	2002/05/31 03:29:57
@@ -279,6 +279,7 @@
 
 }
 
+#if 0
 static void dissect_beep_status(tvbuff_t *tvb, int offset,
 				proto_tree *tree)
 {
@@ -312,6 +313,7 @@
   }
 
 }
+#endif
 
 static int num_len(tvbuff_t *tvb, int offset)
 {
Index: ethereal/packet-dccp.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dccp.c,v
retrieving revision 1.5
diff -u -r1.5 packet-dccp.c
--- packet-dccp.c	2002/05/03 20:34:14	1.5
+++ packet-dccp.c	2002/05/31 03:29:57
@@ -67,7 +67,7 @@
 static int hf_dccp_ck_sum = -1;
 
 static int hf_dccp_date = -1;
-static int hf_dccp_msg = -1;
+/* static int hf_dccp_msg = -1; */
 
 static int hf_dccp_target = -1;
 
@@ -223,7 +223,7 @@
 	int offset = 0;
 	int client_is_le = 0;
 	int op = 0;
-	int i, count, is_response;
+	int i, is_response;
 
 	if (pinfo->srcport != DCC_PORT && pinfo->destport != DCC_PORT) {
 		/* Not the right port - not a DCC packet. */