From 1109fbca76d08bb2f11f2899580d2ab7dbe796fa Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Apr 1998 22:16:39 +0000 Subject: Make new gcc -Wall happy --- Objects/stringobject.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Objects/stringobject.c') diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 5928128ce1..5e6a5a5938 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -1016,14 +1016,16 @@ PyString_Format(format, args) "not all arguments converted"); goto error; } - if (args_owned) + if (args_owned) { Py_DECREF(args); + } _PyString_Resize(&result, reslen - rescnt); return result; error: Py_DECREF(result); - if (args_owned) + if (args_owned) { Py_DECREF(args); + } return NULL; } -- cgit v1.2.1