From be8480f8afb50cd9609202bcb977238c7288ea32 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Fri, 14 Dec 2018 02:52:05 +0100 Subject: Consistency --- pdf/pdf.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf') diff --git a/pdf/pdf.go b/pdf/pdf.go index 8881e41..16ea64a 100644 --- a/pdf/pdf.go +++ b/pdf/pdf.go @@ -691,8 +691,8 @@ func NewUpdater(document []byte) (*Updater, error) { xrefOffset, _ := strconv.ParseInt(string(m[1]), 10, 64) lastXrefOffset := xrefOffset - loadedXrefs := map[int64]struct{}{} - loadedEntries := map[uint]struct{}{} + loadedXrefs := make(map[int64]struct{}) + loadedEntries := make(map[uint]struct{}) var throwawayStack []Object for { -- cgit v1.2.3-70-g09d2