summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
commitda9c2710c728407f47f34635a75647c56a9ec106 (patch)
treeb8248e8ba3432a2d4b4fc4034214a60b2b96cf9d /Objects/stringobject.c
parent472c04f18f54327433c13601b25c7ea2c7071e6b (diff)
downloadcpython-da9c2710c728407f47f34635a75647c56a9ec106.zip
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.gz
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.bz2
Make gcc -Wall happy
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 3e0f04e..b880891 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -669,17 +669,17 @@ formatstring(format, args)
else {
/* Got a format specifier */
int flags = 0;
- char *fmtstart = fmt++;
int width = -1;
int prec = -1;
int size = 0;
int c = '\0';
int fill;
- object *v;
+ object *v = NULL;
object *temp = NULL;
char *buf;
int sign;
int len;
+ fmt++;
if (*fmt == '(') {
char *keystart;
int keylen;