We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d24ff commit 2977abfCopy full SHA for 2977abf
Modules/_struct.c
@@ -2758,7 +2758,8 @@ _structmodule_exec(PyObject *m)
2758
return -1;
2759
}
2760
2761
- _PyOnceFlag_CallOnce(&endian_tables_init_once, init_endian_tables, NULL);
+ /* init cannot fail */
2762
+ (void)_PyOnceFlag_CallOnce(&endian_tables_init_once, init_endian_tables, NULL);
2763
2764
/* Add some symbolic constants to the module */
2765
state->StructError = PyErr_NewException("struct.error", NULL, NULL);
0 commit comments