Skip to content

Commit d2e8069

Browse files
divinity76oconnor663
authored andcommitted
add missing MAYBE_UNUSED
caused ``` /Users/runner/work/php-src/php-src/ext/hash/blake3/upstream_blake3/c/blake3_dispatch.c:237:26: error: unused variable 'features' [-Werror,-Wunused-variable] const enum cpu_feature features = get_cpu_features(); ```
1 parent 5c8b350 commit d2e8069

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

c/blake3_dispatch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ void blake3_xof_many(const uint32_t cv[8],
234234
}
235235
#if defined(IS_X86)
236236
const enum cpu_feature features = get_cpu_features();
237+
MAYBE_UNUSED(features);
237238
#if !defined(_WIN32) && !defined(BLAKE3_NO_AVX512)
238239
if (features & AVX512VL) {
239240
blake3_xof_many_avx512(cv, block, block_len, counter, flags, out, outblocks);

0 commit comments

Comments
 (0)