diff options
author | Carl Worth <cworth@cworth.org> | 2006-05-03 16:45:33 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-05-03 16:45:33 -0700 |
commit | 7beb3e27a552c724bbdb147bc27b775af0d61063 (patch) | |
tree | dca1bef60e007c8c7ec7381e258df83469ad8645 /src/cairo-lzw.c | |
parent | 8a174a11395af97bf1bffeca7a6ee8e5c1d50281 (diff) |
Quiet some 'may be used uninitialized' warnings.
Diffstat (limited to 'src/cairo-lzw.c')
-rw-r--r-- | src/cairo-lzw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-lzw.c b/src/cairo-lzw.c index 2a4a8e1e..1f48a0ae 100644 --- a/src/cairo-lzw.c +++ b/src/cairo-lzw.c @@ -324,10 +324,10 @@ _cairo_lzw_compress (unsigned char *data, unsigned long *size_in_out) int bytes_remaining = *size_in_out; lzw_buf_t buf; lzw_symbol_table_t table; - lzw_symbol_t symbol, *slot; + lzw_symbol_t symbol, *slot = NULL; /* just to squelch a warning */ int code_next = LZW_CODE_FIRST; int code_bits = LZW_BITS_MIN; - int prev, next; + int prev, next = 0; /* just to squelch a warning */ if (*size_in_out == 0) return NULL; |