Make the brotli decoder more C90-compatible.

(1) Move all variable declarations to the beginning of the block.
(2) Remove 'z' printf modifiers.
(3) Fix 'comma at the end of enumeration list' warning.
This commit is contained in:
Zoltan Szabadka
2013-10-22 15:02:54 +02:00
parent 9c62eb3e1e
commit b35077ca42
2 changed files with 177 additions and 149 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ enum ContextType {
CONTEXT_SIGNED_2BIT = 9,
CONTEXT_SIGNED_3BIT = 10,
CONTEXT_SIGNED_4BIT = 11,
CONTEXT_SIGNED_MIXED_3BYTE = 12,
CONTEXT_SIGNED_MIXED_3BYTE = 12
};
static const int kContextSize[] = {