Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/dist/zlib mark variables as used



details:   https://anonhg.NetBSD.org/src/rev/5cb60868913a
branches:  trunk
changeset: 791174:5cb60868913a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 07 17:26:13 2013 +0000

description:
mark variables as used

diffstat:

 common/dist/zlib/gzio.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 548470ef8ee6 -r 5cb60868913a common/dist/zlib/gzio.c
--- a/common/dist/zlib/gzio.c   Thu Nov 07 17:18:22 2013 +0000
+++ b/common/dist/zlib/gzio.c   Thu Nov 07 17:26:13 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gzio.c,v 1.3 2011/05/19 22:23:12 tsutsui Exp $ */
+/*     $NetBSD: gzio.c,v 1.4 2013/11/07 17:26:13 christos Exp $        */
 
 /* gzio.c -- IO on .gz files
  * Copyright (C) 1995-2005 Jean-loup Gailly.
@@ -157,6 +157,8 @@
     if (s->mode == 'w') {
 #ifdef NO_GZCOMPRESS
         err = Z_STREAM_ERROR;
+       __USE(level);
+       __USE(strategy);
 #else
         err = deflateInit2(&(s->stream), level,
                            Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, strategy);



Home | Main Index | Thread Index | Old Index