diff options
| author | 2025-11-22 08:00:00 +0800 | |
|---|---|---|
| committer | 2025-11-22 08:00:00 +0800 | |
| commit | 97f5de11348985042b8538091807ef2dbe21a8a0 (patch) | |
| tree | f0d8a1ff31f1c959fe67555fe12e8f42cef85722 | |
| parent | Remove the multi-pack-index tests which is unused anyway (diff) | |
| signature | No signature | |
flatex: Reformat code
| -rw-r--r-- | internal/flatex/inflate.go | 8 |
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 |
