[PATCH v2 0/1] MR8661: msado15/tests: Check return value (Coverity).
Though in a #if(0), is reported as a unchecked return value. -- v2: msado15/tests: Check return value (Coverity). https://gitlab.winehq.org/wine/wine/-/merge_requests/8661
From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Though in a #if(0), is reported as a unchecked return value. --- dlls/msado15/tests/msado15.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/msado15/tests/msado15.c b/dlls/msado15/tests/msado15.c index f7707a03388..9d9029d3d43 100644 --- a/dlls/msado15/tests/msado15.c +++ b/dlls/msado15/tests/msado15.c @@ -298,11 +298,6 @@ static void test_Recordset(void) ok( is_eof( recordset ), "not eof\n" ); ok( is_bof( recordset ), "not bof\n" ); -if (0) -{ /* Causes a crash */ - hr = _Recordset_get_ActiveConnection( recordset, NULL ); -} - V_VT(&active) = VT_UNKNOWN; V_UNKNOWN(&active) = (IUnknown *)0xdeadbeef; hr = _Recordset_get_ActiveConnection( recordset, &active ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8661
participants (2)
-
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes)