Commit a01d3921 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winhttp: On NULL request, skip the other tests (Coverity).

parent a3e1a6f2
......@@ -283,6 +283,7 @@ static void test_SendRequest (void)
goto done;
}
ok(request != NULL, "WinHttpOpenrequest failed to open a request, error: %u.\n", GetLastError());
if (!request) goto done;
context = 0xdeadbeef;
ret = WinHttpSetOption(request, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(context));
......
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