From 55fbe18b38ff323c74067d975b068c61b01c8baa Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Tue, 29 Dec 2009 18:54:08 +0000 Subject: [PATCH] MFH: clean some dead code (with static analysis help) (Approved by Ilia) --- main/rfc1867.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/rfc1867.c b/main/rfc1867.c index 20c447e567..a220ec4194 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -32,7 +32,6 @@ #include "php_globals.h" #include "php_variables.h" #include "rfc1867.h" -#include "php_ini.h" #include "ext/standard/php_string.h" #define DEBUG_FILE_UPLOAD ZEND_DEBUG @@ -205,7 +204,8 @@ static void normalize_protected_variable(char *varname TSRMLS_DC) index = NULL; } } - *s++='\0'; + + *s = '\0'; } @@ -612,7 +612,7 @@ static char *substring_conf(char *start, int len, char quote TSRMLS_DC) } } - *resp++ = '\0'; + *resp = '\0'; return result; } -- 2.50.1