summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@yuffie.local>2007-12-20 19:14:53 -0800
committerJeremy Huddleston <jeremy@yuffie.local>2007-12-20 19:14:53 -0800
commit76e3272fa0e4977dd36ff2cd451a8789442f4fbe (patch)
treeb9ee2e943d007abd6773f2bdb8e752c70f7068b8
parent9f35bf01c20e5bcc13462db6b599bd0a1b0ed561 (diff)
Initialize global variables to NULL.
-rw-r--r--src/lbx_zlib/lbx_zlib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lbx_zlib/lbx_zlib.c b/src/lbx_zlib/lbx_zlib.c
index e7105a0..a306278 100644
--- a/src/lbx_zlib/lbx_zlib.c
+++ b/src/lbx_zlib/lbx_zlib.c
@@ -68,12 +68,12 @@ from The Open Group.
#include "lbx_zlib.h"
#include <X11/extensions/lbxzlib.h>
-unsigned long stream_out_compressed;
-unsigned long stream_out_uncompressed;
-unsigned long stream_out_plain;
-unsigned long stream_in_compressed;
-unsigned long stream_in_uncompressed;
-unsigned long stream_in_plain;
+unsigned long stream_out_compressed = 0;
+unsigned long stream_out_uncompressed = 0;
+unsigned long stream_out_plain = 0;
+unsigned long stream_in_compressed = 0;
+unsigned long stream_in_uncompressed = 0;
+unsigned long stream_in_plain=0;
#ifdef LBXREQSTATS
unsigned long stream_in_packet_header_bytes = 0;
extern int LbxWhoAmI;