From 97ac5d3f5377fbb7d72be02b3dac3ed875e0ee26 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Tue, 9 Aug 2011 02:42:25 +0000 Subject: [PATCH] Remove unused variable --- main/snprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/snprintf.c b/main/snprintf.c index 6e5a89a34cb..e623e821d36 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -587,7 +587,6 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) / int i; char *s = NULL; - char *q; int s_len, free_zcopy; zval *zvp, zcopy; @@ -1071,7 +1070,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) / s_len = strlen(s); - if (alternate_form && (q = strchr(s, '.')) == NULL) { + if (alternate_form && (strchr(s, '.')) == NULL) { s[s_len++] = '.'; } break;