diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-02-07 11:50:19 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-02-07 11:50:19 +0000 |
commit | d6bfd3501126ce334278d3239dd94d0e2c58cc38 (patch) | |
tree | 855ac649ecbc0e9bccd89ea31f48c1d526a17de0 /include | |
parent | a6cbde55a4bc8095556d5b0e134e51d7ac946805 (diff) | |
download | mupdf-d6bfd3501126ce334278d3239dd94d0e2c58cc38.tar.xz |
Fix uninitialised variable warning in fz_peek_byte
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/stream.h b/include/mupdf/fitz/stream.h index 33606cc8..b0571e04 100644 --- a/include/mupdf/fitz/stream.h +++ b/include/mupdf/fitz/stream.h @@ -395,7 +395,7 @@ static inline int fz_read_byte(fz_context *ctx, fz_stream *stm) */ static inline int fz_peek_byte(fz_context *ctx, fz_stream *stm) { - int c; + int c = EOF; if (stm->rp != stm->wp) return *stm->rp; |