aboutsummaryrefslogtreecommitdiff
path: root/c/enc/hash.h
diff options
context:
space:
mode:
authorBrotli <no-reply@google.com>2024-04-12 09:15:22 -0700
committerCopybara-Service <copybara-worker@google.com>2024-04-12 09:16:00 -0700
commit709c4672d4a387f56839e47ed6a985cd2f950a8f (patch)
tree30dd6c769312d5cfd046d8e8085de5a95e18d7c9 /c/enc/hash.h
parenta76d96e7308614b422508679d6905cbe1a8762bf (diff)
downloadbrotli-709c4672d4a387f56839e47ed6a985cd2f950a8f.zip
brotli-709c4672d4a387f56839e47ed6a985cd2f950a8f.tar.gz
brotli-709c4672d4a387f56839e47ed6a985cd2f950a8f.tar.bz2
Fix minor syntax issues.
Missing semicolons. Move checks below variable declarations for c89. PiperOrigin-RevId: 624199887
Diffstat (limited to 'c/enc/hash.h')
-rw-r--r--c/enc/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/enc/hash.h b/c/enc/hash.h
index f3a915b..d993b6a 100644
--- a/c/enc/hash.h
+++ b/c/enc/hash.h
@@ -557,7 +557,7 @@ static BROTLI_INLINE void FindCompoundDictionaryMatch(
offset = distance_offset - distance;
limit = source_size - offset;
limit = limit > max_length ? max_length : limit;
- BROTLI_DCHECK(cur_ix_masked + limit <= ring_buffer_mask)
+ BROTLI_DCHECK(cur_ix_masked + limit <= ring_buffer_mask);
len = FindMatchLengthWithLimit(&source[offset], &data[cur_ix_masked],
limit);
if (len >= 2) {