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

Appearance settings

Commit b625374

Browse filesBrowse files
committed
Fix compilation on clang
1 parent 0eb3fd0 commit b625374
Copy full SHA for b625374

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎Doc/c-api/config.rst

Copy file name to clipboardExpand all lines: Doc/c-api/config.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ return ``-1`` on error:
216216
PyInitConfig_Free(config);
217217
return 0;
218218
219-
error:
220219
// Display the error message
221220
const char *err_msg;
221+
error:
222222
(void)PyInitConfig_GetError(config, &err_msg);
223223
printf("PYTHON INIT ERROR: %s\n", err_msg);
224224
PyInitConfig_Free(config);

‎Programs/_testembed.c

Copy file name to clipboardExpand all lines: Programs/_testembed.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1850,8 +1850,8 @@ static int test_initconfig_api(void)
18501850
Py_Finalize();
18511851
return 0;
18521852

1853-
error:
18541853
const char *err_msg;
1854+
error:
18551855
(void)PyInitConfig_GetError(config, &err_msg);
18561856
printf("Python init failed: %s\n", err_msg);
18571857
exit(1);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.