winhttp: On NULL request, skip the other tests (Coverity).
This commit is contained in:
parent
a3e1a6f2ee
commit
a01d392153
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue