Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3130512

Browse files
committed
Use Py_UNUSED for unused arg in init_endian_tables
1 parent95958e8 commit3130512

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎Modules/_struct.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,10 +1510,8 @@ static formatdef lilendian_table[] = {
15101510
static_PyOnceFlagendian_tables_init_once= {0};
15111511

15121512
staticint
1513-
init_endian_tables(void*arg)
1513+
init_endian_tables(void*Py_UNUSED(arg))
15141514
{
1515-
(void)arg;// Unused but required by _Py_once_fn_t signature
1516-
15171515
constformatdef*native=native_table;
15181516
formatdef*other,*ptr;
15191517
#ifPY_LITTLE_ENDIAN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp