summaryrefslogtreecommitdiffstats
path: root/compat/zlib/examples/zran.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/zlib/examples/zran.c')
-rw-r--r--compat/zlib/examples/zran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/zlib/examples/zran.c b/compat/zlib/examples/zran.c
index 8c7717e..617a130 100644
--- a/compat/zlib/examples/zran.c
+++ b/compat/zlib/examples/zran.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv)
int len;
off_t offset;
FILE *in;
- struct access *index;
+ struct access *index = NULL;
unsigned char buf[CHUNK];
/* open input file */