]> git.lizzy.rs Git - zlib.git/blobdiff - test/minigzip.c
Explicitly note that the 32-bit check values are 32 bits.
[zlib.git] / test / minigzip.c
index 850458c03a3259ee385084f2950bb35ff6169370..e22fb08c0a2921b47efba0ce06c3b5998212c3cc 100644 (file)
@@ -1,5 +1,5 @@
 /* minigzip.c -- simulate gzip using the zlib compression library
- * Copyright (C) 1995-2006, 2010, 2011 Jean-loup Gailly.
+ * Copyright (C) 1995-2006, 2010, 2011, 2016 Jean-loup Gailly
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
@@ -156,14 +156,14 @@ void *myalloc(q, n, m)
     void *q;
     unsigned n, m;
 {
-    q = Z_NULL;
+    (void)q;
     return calloc(n, m);
 }
 
 void myfree(q, p)
     void *q, *p;
 {
-    q = Z_NULL;
+    (void)q;
     free(p);
 }