[libss7-commits] rmudgett: branch 1.0 r321 - /branches/1.0/parser_debug.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Wed Nov 6 16:34:06 CST 2013


Author: rmudgett
Date: Wed Nov  6 16:34:04 2013
New Revision: 321

URL: http://svnview.digium.com/svn/libss7?view=rev&rev=321
Log:
Fix set but not used warnings from gcc 4.6.

(closes issue SS7-54)
Reported by: Tzafrir Cohen

Modified:
    branches/1.0/parser_debug.c

Modified: branches/1.0/parser_debug.c
URL: http://svnview.digium.com/svn/libss7/branches/1.0/parser_debug.c?view=diff&rev=321&r1=320&r2=321
==============================================================================
--- branches/1.0/parser_debug.c (original)
+++ branches/1.0/parser_debug.c Wed Nov  6 16:34:04 2013
@@ -45,7 +45,6 @@
 	unsigned int tmp;
 	int ss7type;
 	int res = 0, i = 0, size;
-	ss7_event *e;
 
 	if (argc != 3)
 		return -1;
@@ -81,7 +80,7 @@
 
 	mtp2_receive(ss7->links[0], mybuf, size);
 
-	e = ss7_check_event(ss7);
+	ss7_check_event(ss7);
 
 	return 0;
 }




More information about the libss7-commits mailing list