diff options
-rw-r--r-- | main/fopen_wrappers.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 7bcc9086fb..4e51ec0b19 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -333,7 +333,6 @@ PHPAPI FILE *php_fopen_primary_script(void) #else if (IS_SLASH(*PG(doc_root))) { #endif - length = strlen(PG(doc_root)); filename = emalloc(length + strlen(path_info) + 2); if (filename) { memcpy(filename, PG(doc_root), length); |