From 4f0c7670ea19afcebaae17a01ece4ad058ba51b1 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Sun, 7 Aug 2011 05:46:31 +0000 Subject: [PATCH] Pointer returned is never used --- ext/phar/dirstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/dirstream.c b/ext/phar/dirstream.c index f0fe1be45c..4b6fd586f9 100644 --- a/ext/phar/dirstream.c +++ b/ext/phar/dirstream.c @@ -503,7 +503,7 @@ int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, in return 0; } - if ((e = phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1 TSRMLS_CC))) { + if (phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1 TSRMLS_CC)) { /* entry exists as a file */ php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", file already exists", resource->path+1, resource->host); php_url_free(resource); -- 2.50.1