Skip to content

Commit

Permalink
Address warnings in Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Nov 9, 2024
1 parent 3292374 commit c09dfa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/codestream/ojph_codeblock_fun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace ojph {
}
encode_cb32 = ojph_encode_codeblock_avx2;
bool result = initialize_block_encoder_tables_avx2();
assert(result);
assert(result); ojph_unused(result);

find_max_val64 = avx2_find_max_val64;
if (reversible) {
Expand All @@ -236,7 +236,7 @@ namespace ojph {
if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_AVX512) {
encode_cb32 = ojph_encode_codeblock_avx512;
bool result = initialize_block_encoder_tables_avx512();
assert(result);
assert(result); ojph_unused(result);
}
#endif // !OJPH_DISABLE_AVX512

Expand Down

0 comments on commit c09dfa0

Please sign in to comment.