summaryrefslogtreecommitdiff
path: root/tools/makefixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/makefixed.c')
-rw-r--r--tools/makefixed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/makefixed.c b/tools/makefixed.c
index 0f983bd5d3..66f4355dc1 100644
--- a/tools/makefixed.c
+++ b/tools/makefixed.c
@@ -44,6 +44,7 @@ void makefixed(void) {
unsigned low, size;
struct inflate_state state;
+ memset(&state, 0, sizeof(state));
buildfixedtables(&state);
puts(" /* inffixed.h -- table for decoding fixed codes");
puts(" * Generated automatically by makefixed().");