Skip to content

Commit 526aad5

Browse files
authored
Merge pull request #19804 from cjjdespres/fix-cpp-initialization
Use C++-style initialization for zeroed array type
2 parents f3dc638 + 8b9cd09 commit 526aad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/vm/UpcallExceptionHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ffiCallWithSetJmpForUpcall(J9VMThread *currentThread, ffi_cif *cif, void *functi
5555
ffiCallWithSetJmpForUpcall(J9VMThread *currentThread, ffi_cif *cif, void *function, UDATA *returnStorage, void **values)
5656
#endif /* FFI_NATIVE_RAW_API */
5757
{
58-
jmp_buf jmpBufferEnv = {0};
58+
jmp_buf jmpBufferEnv = {};
5959
void *jmpBufEnvPtr = currentThread->jmpBufEnvPtr;
6060

6161
/* We only need to restore back to the latest call-out from the dispatcher

0 commit comments

Comments
 (0)