Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 4588:4dc67fdd9e0b legacy-trunk
Make gcc -Wall happy
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 05 Dec 1996 21:58:58 +0000 |
| parents | 65d2d8e67da3 |
| children | df81856db58c |
line wrap: on
line diff
--- a/Objects/stringobject.c Thu Dec 05 21:57:21 1996 +0000 +++ b/Objects/stringobject.c Thu Dec 05 21:58:58 1996 +0000 @@ -669,17 +669,17 @@ 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;
