Remove "static const uint32_t etc" from cgen

They trigger compiler warnings (-Wunused-const-variable) precisely
because they're unused.
This commit is contained in:
Nigel Tao committed 2019-11-02 12:15:01 +11:00
1 parent 8ce3d657ee
commit 498b7138f3
5 files changed
+60 -77

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ const char* test_wuffs_deflate_decode_deflate_huffman_primlen_9() {
int i;
for (i = 0; i < 2; i++) {
// Find the first unused (i.e. zero) entry in the i'th huffs table.
int got = wuffs_deflate__huffs_table_size;
int got = WUFFS_DEFLATE__HUFFS_TABLE_SIZE;
while ((got > 0) && (dec.private_data.f_huffs[i][got - 1] == 0)) {
got--;
}