Skip to content

Commit 68ffe6d

Browse files
committed
Use Py_UNUSED for unused arg in init_endian_tables
1 parent 95958e8 commit 68ffe6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_struct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ static _PyOnceFlag endian_tables_init_once = {0};
15121512
static int
15131513
init_endian_tables(void *arg)
15141514
{
1515-
(void)arg; // Unused but required by _Py_once_fn_t signature
1515+
Py_UNUSED(arg); // Unused but required by _Py_once_fn_t signature
15161516

15171517
const formatdef *native = native_table;
15181518
formatdef *other, *ptr;

0 commit comments

Comments
 (0)