]> granicus.if.org Git - php/commitdiff
simplify expression
authorJoe Watkins <krakjoe@php.net>
Thu, 28 Apr 2016 14:50:27 +0000 (15:50 +0100)
committerJoe Watkins <krakjoe@php.net>
Thu, 28 Apr 2016 14:50:27 +0000 (15:50 +0100)
main/streams/plain_wrapper.c

index 8c9a888845989b348c925cfccb2d3b44889f3236..d510c909a7f24049e894cf9cfa305da3ffb2a486 100644 (file)
@@ -1484,7 +1484,7 @@ not_relative_path:
        }
 #endif
 
-       if (!path || (path && !*path)) {
+       if (!path || !*path) {
                return php_stream_fopen_rel(filename, mode, opened_path, options);
        }