~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): Faidon Liambotis
  • Date: 2011-11-26 17:25:59 UTC
  • mfrom: (1.3.11)
  • Revision ID: package-import@ubuntu.com-20111126172559-f6c5r81fgkn0krlb
Tags: 1.4.12-1
* New upstream release. 
  - Drop patch gcc-4.6-werror, not needed anymore.
  - Adapt patch enable-gcc-optimizations.
  - Updated symbols file with (a lot of) new symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Author: Aurelien Jarno <aurel32@debian.org>
2
 
Description: Removed an unused variable
3
 
 
4
 
Still applies to upstream tag 1.4.11.5, but not to 1.4.12 or branch 1.4
5
 
(the development branch).
6
 
 
7
 
--- libpri-1.4.11.3.orig/q921.c
8
 
+++ libpri-1.4.11.3/q921.c
9
 
@@ -808,10 +808,8 @@ void q921_dump(struct pri *pri, q921_h *
10
 
 
11
 
        if ((h->u.ft == 3) && (h->u.m3 == 0) && (h->u.m2 == 0) && (h->u.data[0] == 0x0f)) {
12
 
                int ri;
13
 
-               int tei;
14
 
 
15
 
                ri = (h->u.data[1] << 8) | h->u.data[2];
16
 
-               tei = (h->u.data[4] >> 1);
17
 
                /* TEI assignment related */
18
 
                switch (h->u.data[3]) {
19
 
                case Q921_TEI_IDENTITY_REQUEST: