From 2cfdaaef557c1e2cb6b7454695e2c4ca3e381fd3 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 25 Apr 2015 21:18:18 +0200 Subject: [PATCH] urlmon: Simplify a (redundant) expression in parse_canonicalize. --- dlls/urlmon/uri.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c index e43d3725591..48b485b4bd0 100644 --- a/dlls/urlmon/uri.c +++ b/dlls/urlmon/uri.c @@ -6842,8 +6842,7 @@ static HRESULT parse_canonicalize(const Uri *uri, DWORD flags, LPWSTR output, ptr = uri->canon_uri+uri->scheme_start+uri->scheme_len+1; pptr = &ptr; } - reduce_path = !(flags & URL_NO_META) && - !(flags & URL_DONT_SIMPLIFY) && + reduce_path = !(flags & URL_DONT_SIMPLIFY) && ptr && check_hierarchical(pptr); for(ptr = uri->canon_uri; ptr < uri->canon_uri+uri->canon_len; ++ptr) {