From: Pierrick Charron Date: Sun, 7 Aug 2011 05:46:31 +0000 (+0000) Subject: Pointer returned is never used X-Git-Tag: php-5.3.7RC5~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=757a32cd0c681822a361a7fb373bcdb0cc07ccd7;p=php Pointer returned is never used --- 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);