~ubuntu-branches/ubuntu/trusty/libpri/trusty

« back to all changes in this revision

Viewing changes to debian/patches/gcc-4.6-werror

  • Committer: Package Import Robot
  • Author(s): Aurelien Jarno
  • Date: 2011-09-09 14:54:45 UTC
  • Revision ID: package-import@ubuntu.com-20110909145445-3ryu8grds0wexj0g
Tags: 1.4.11.3-1.1
* Non-maintainer upload.
* Add gcc-4.6-werror to fix FTBFS with gcc-4.6.  Closes: #625379.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Remove unused variable
 
2
 
 
3
--- libpri-1.4.11.3.orig/q921.c
 
4
+++ libpri-1.4.11.3/q921.c
 
5
@@ -808,10 +808,8 @@ void q921_dump(struct pri *pri, q921_h *
 
6
 
 
7
        if ((h->u.ft == 3) && (h->u.m3 == 0) && (h->u.m2 == 0) && (h->u.data[0] == 0x0f)) {
 
8
                int ri;
 
9
-               int tei;
 
10
 
 
11
                ri = (h->u.data[1] << 8) | h->u.data[2];
 
12
-               tei = (h->u.data[4] >> 1);
 
13
                /* TEI assignment related */
 
14
                switch (h->u.data[3]) {
 
15
                case Q921_TEI_IDENTITY_REQUEST: