aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/flatex/inflate.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/flatex/inflate.go b/internal/flatex/inflate.go
index 5e9d861e..ca85b355 100644
--- a/internal/flatex/inflate.go
+++ b/internal/flatex/inflate.go
@@ -28,9 +28,11 @@ const (
numCodes = 19 // number of codes in Huffman meta-code
)
-// Initialize the fixedHuffmanDecoder only once upon first use.
-var fixedOnce sync.Once
-var fixedHuffmanDecoder huffmanDecoder
+var (
+ // Initialize the fixedHuffmanDecoder only once upon first use.
+ fixedOnce sync.Once
+ fixedHuffmanDecoder huffmanDecoder
+)
// A CorruptInputError reports the presence of corrupt input at a given offset.
type CorruptInputError int64