summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mupdf/fitz/stream.h2
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;