jani Tue, 29 Dec 2009 18:54:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292770
Log:
MFH: clean some dead code (with static analysis help) (Approved by Ilia)
Changed paths:
U php/php-src/branches/PHP_5_2/main/rfc1867.c
Modified: php/php-src/branches/PHP_5_2/main/rfc1867.c
===================================================================
--- php/php-src/branches/PHP_5_2/main/rfc1867.c 2009-12-29 17:25:12 UTC (rev
292769)
+++ php/php-src/branches/PHP_5_2/main/rfc1867.c 2009-12-29 18:54:08 UTC (rev
292770)
@@ -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 @@
index = NULL;
}
}
- *s++='\0';
+
+ *s = '\0';
}
@@ -612,7 +612,7 @@
}
}
- *resp++ = '\0';
+ *resp = '\0';
return result;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php