summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 6880bdf..6a8ec46 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -354,11 +354,11 @@ r_long64(p)
#else
if (r_long(p) != 0) {
PyObject *f = PySys_GetObject("stderr");
- PyErr_Clear();
if (f != NULL)
- PyFile_WriteString(
+ (void) PyFile_WriteString(
"Warning: un-marshal 64-bit int in 32-bit mode\n",
f);
+ PyErr_Clear();
}
#endif
return x;