summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-12-29 18:54:08 +0000
committerJani Taskinen <jani@php.net>2009-12-29 18:54:08 +0000
commit55fbe18b38ff323c74067d975b068c61b01c8baa (patch)
tree7445b149b9a0fde7208d383a1010d80c62040099
parent93abcd9bb74a31735eedcbe5d1e10bc723572992 (diff)
downloadphp-git-55fbe18b38ff323c74067d975b068c61b01c8baa.tar.gz
MFH: clean some dead code (with static analysis help) (Approved by Ilia)
-rw-r--r--main/rfc1867.c6
1 files 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;
}