Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc229ea

Browse files
committed
Add useless 'return 1' to prtrace() to shut up VC++.
1 parent 4951782 commit cc229ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/ceval.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,7 @@ prtrace(v, str)
21762176
if (PyObject_Print(v, stdout, 0) != 0)
21772177
PyErr_Clear(); /* Don't know what else to do */
21782178
printf("\n");
2179+
return 1;
21792180
}
21802181
#endif
21812182

0 commit comments

Comments
 (0)