urlmon: Silence a compiler warning (GCC 4.6).
This commit is contained in:
parent
9d3cc8b012
commit
7d60dd7e16
@ -3785,6 +3785,7 @@ static HRESULT validate_path(const UriBuilder *builder, parse_data *data, DWORD
|
|||||||
static const WCHAR nullW[] = {0};
|
static const WCHAR nullW[] = {0};
|
||||||
ptr = nullW;
|
ptr = nullW;
|
||||||
check_len = FALSE;
|
check_len = FALSE;
|
||||||
|
expected_len = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
component = ptr;
|
component = ptr;
|
||||||
@ -3798,7 +3799,7 @@ static HRESULT validate_path(const UriBuilder *builder, parse_data *data, DWORD
|
|||||||
|
|
||||||
if(!valid || (check_len && expected_len != data->path_len)) {
|
if(!valid || (check_len && expected_len != data->path_len)) {
|
||||||
TRACE("(%p %p %x): Invalid path component %s.\n", builder, data, flags,
|
TRACE("(%p %p %x): Invalid path component %s.\n", builder, data, flags,
|
||||||
debugstr_wn(component, check_len ? expected_len : -1) );
|
debugstr_wn(component, expected_len) );
|
||||||
return INET_E_INVALID_URL;
|
return INET_E_INVALID_URL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user