poppler/Parser.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89fccf45fc5bfca3756102e6bec1950ec1d436a9
Author: Albert Astals Cid <[email protected]>
Date:   Sat Nov 3 01:45:55 2018 +0100

    initialize entry

diff --git a/poppler/Parser.cc b/poppler/Parser.cc
index 733cdbb0..87745414 100644
--- a/poppler/Parser.cc
+++ b/poppler/Parser.cc
@@ -198,7 +198,7 @@ Stream *Parser::makeStream(Object &&dict, Guchar *fileKey,
   Stream *str;
   Goffset length;
   Goffset pos, endPos;
-  XRefEntry *entry;
+  XRefEntry *entry = nullptr;
 
   if (xref && (entry = xref->getEntry(objNum, false))) {
     if (!entry->getFlag(XRefEntry::Parsing) ||
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to