Skip to content

Commit a6275b6

Browse files
fix unused variable compiler warning (#32892)
1 parent df1ee8c commit a6275b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ccall.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,6 +1494,7 @@ static jl_cgval_t emit_ccall(jl_codectx_t &ctx, jl_value_t **args, size_t nargs)
14941494

14951495
// some special functions
14961496
bool isVa = nreqargs > 0;
1497+
(void)isVa; // prevent compiler warning
14971498
if (is_libjulia_func(jl_array_ptr)) {
14981499
assert(lrt == T_size);
14991500
assert(!isVa && !llvmcall && nccallargs == 1);

0 commit comments

Comments
 (0)