]> git.mxchange.org Git - flightgear.git/commitdiff
Fix minor compiler and checker warnings.
authorThorstenB <brehmt@gmail.com>
Mon, 19 Dec 2011 20:35:50 +0000 (21:35 +0100)
committerThorstenB <brehmt@gmail.com>
Mon, 19 Dec 2011 20:35:50 +0000 (21:35 +0100)
(rpm-checker was unhappy about our outdated FSF address :) )

COPYING
utils/fgadmin/src/untarka.c

diff --git a/COPYING b/COPYING
index d60c31a97a544b53039088d14fe9114583c0efc3..ecb192b2aa1c80efd2977e88668719fd1ef0070e 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -2,7 +2,7 @@
                       Version 2, June 1991
 
  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
@@ -305,7 +305,7 @@ the "copyright" line and a pointer to where the full notice is found.
 
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 
 
 Also add information on how to contact you by electronic and paper mail.
index 0b096784e261906c1d3a5ed5fe2e61428454e43b..3336ba1baa6544dbff2c860e1777a3aa812919da 100644 (file)
@@ -847,16 +847,17 @@ static unsigned lz_read(struct lz_reader_t* reader, char* outbuf, unsigned obufs
 
       if (code >= freeent) {    /* Special case for KwKwK string.    */
         if (code > freeent) {
-            REG1 char_type         *p;
-
             posbits -= n_bits;
-            p = &inbuf[posbits>>3];
-
 #if 0
-            fprintf(stderr, "uncompress: insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)\n", insize, posbits,
-                    p[-1],p[0],p[1],p[2],p[3], (posbits&07));
-            fprintf(stderr, "uncompress: corrupt input\n");
-            abort();
+            {
+                REG1 char_type         *p;
+                p = &inbuf[posbits>>3];
+
+                fprintf(stderr, "uncompress: insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)\n", insize, posbits,
+                        p[-1],p[0],p[1],p[2],p[3], (posbits&07));
+                fprintf(stderr, "uncompress: corrupt input\n");
+                abort();
+            }
 #else
             return reader->rsize=-1;
 #endif