simplify expression

This commit is contained in:
Joe Watkins 2016-04-28 15:52:30 +01:00
parent f580540c8d
commit 2787a24f86

View File

@ -647,7 +647,7 @@ PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const c
if ((*filename == '.')
/* Absolute path open */
|| IS_ABSOLUTE_PATH(filename, filename_length)
|| (!path || (path && !*path))
|| (!path || !*path)
) {
return php_fopen_and_set_opened_path(filename, mode, opened_path);
}