Commit 85f3fe73 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winhttp: Initialize schemes (Coverity).

parent b69d67f1
...@@ -1270,8 +1270,10 @@ static BOOL query_auth_schemes( request_t *request, DWORD level, LPDWORD support ...@@ -1270,8 +1270,10 @@ static BOOL query_auth_schemes( request_t *request, DWORD level, LPDWORD support
return FALSE; return FALSE;
} }
scheme = auth_scheme_from_header( buffer ); scheme = auth_scheme_from_header( buffer );
if (first && index == 1) *first = scheme; if (first && index == 1)
*supported |= scheme; *first = *supported = scheme;
else
*supported |= scheme;
heap_free( buffer ); heap_free( buffer );
ret = TRUE; ret = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment