Skip to content

Commit 2f9e499

Browse files
committed
Fix scalar initializer.
1 parent 55be81c commit 2f9e499

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Programs/_testembed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2359,7 +2359,7 @@ test_gilstate_after_finalization(void)
23592359
Py_Finalize();
23602360
PyThread_handle_t handle;
23612361
PyThread_ident_t ident;
2362-
PyEvent event = {};
2362+
PyEvent event = {0};
23632363
if (PyThread_start_joinable_thread(&do_gilstate_ensure, &event, &ident, &handle) < 0) {
23642364
return -1;
23652365
}

0 commit comments

Comments
 (0)