[Pkg-voip-commits] r9370 - in /libss7/trunk/debian: changelog patches/gcc46 patches/series
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Fri Nov 25 08:02:32 UTC 2011
Author: tzafrir
Date: Fri Nov 25 08:02:31 2011
New Revision: 9370
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9370
Log:
Patch gcc46: Fix the gcc 4.6 warnings (Closes: 625375).
Added:
libss7/trunk/debian/patches/gcc46
Modified:
libss7/trunk/debian/changelog
libss7/trunk/debian/patches/series
Modified: libss7/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/changelog?rev=9370&op=diff
==============================================================================
--- libss7/trunk/debian/changelog (original)
+++ libss7/trunk/debian/changelog Fri Nov 25 08:02:31 2011
@@ -1,8 +1,9 @@
libss7 (1.0.2-3) UNRELEASED; urgency=low
- * A @debian.org address.
+ * A @debian.org address.
+ * Patch gcc46: Fix the gcc 4.6 warnings (Closes: 625375).
- -- Tzafrir Cohen <tzafrir at debian.org> Fri, 25 Nov 2011 09:55:00 +0200
+ -- Tzafrir Cohen <tzafrir at debian.org> Fri, 25 Nov 2011 09:59:32 +0200
libss7 (1.0.2-2) UNRELEASED; urgency=low
Added: libss7/trunk/debian/patches/gcc46
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/patches/gcc46?rev=9370&op=file
==============================================================================
--- libss7/trunk/debian/patches/gcc46 (added)
+++ libss7/trunk/debian/patches/gcc46 Fri Nov 25 08:02:31 2011
@@ -1,0 +1,53 @@
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Description: Remove assigned but unused code warningsof GCC 4.6
+Bug: https://issues.asterisk.org/jira/browse/SS7-54
+
+--- a/mtp3.c
++++ b/mtp3.c
+@@ -455,12 +455,10 @@ fail:
+ int mtp3_transmit(struct ss7 *ss7, unsigned char userpart, unsigned char sls, struct ss7_msg *m)
+ {
+ unsigned char *sio;
+- unsigned char *sif;
+ struct mtp2 *winner;
+ int priority = 3;
+
+ sio = m->buf + MTP2_SIZE;
+- sif = sio + 1;
+
+ winner = sls_to_link(ss7, sls);
+
+--- a/isup.c
++++ b/isup.c
+@@ -2274,12 +2274,9 @@ static int dump_parm(struct ss7 *ss7, in
+ int x;
+ int len = 0;
+ int totalparms = sizeof(parms)/sizeof(struct parm_func);
+- char *parmname = "Unknown Parm";
+
+ for (x = 0; x < totalparms; x++) {
+ if (parms[x].parm == parm) {
+- if (parms[x].name)
+- parmname = parms[x].name;
+
+ ss7_message(ss7, "\t\t%s:\n", parms[x].name ? parms[x].name : "Unknown");
+
+--- a/parser_debug.c
++++ b/parser_debug.c
+@@ -45,7 +45,6 @@ int main(int argc, char **argv)
+ unsigned int tmp;
+ int ss7type;
+ int res = 0, i = 0, size;
+- ss7_event *e;
+
+ if (argc != 3)
+ return -1;
+@@ -81,7 +80,7 @@ int main(int argc, char **argv)
+
+ mtp2_receive(ss7->links[0], mybuf, size);
+
+- e = ss7_check_event(ss7);
++ ss7_check_event(ss7);
+
+ return 0;
+ }
Modified: libss7/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/patches/series?rev=9370&op=diff
==============================================================================
--- libss7/trunk/debian/patches/series (original)
+++ libss7/trunk/debian/patches/series Fri Nov 25 08:02:31 2011
@@ -1,1 +1,2 @@
ldconfig
+gcc46
More information about the Pkg-voip-commits
mailing list