[PATCH 0/1] MR8661: msado15/tests: Check return value (Coverity).
Though in a #if(0), is reported as a unchecked return value. -- 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msado15/tests/msado15.c b/dlls/msado15/tests/msado15.c index f7707a03388..158724957c1 100644 --- a/dlls/msado15/tests/msado15.c +++ b/dlls/msado15/tests/msado15.c @@ -301,6 +301,7 @@ static void test_Recordset(void) if (0) { /* Causes a crash */ hr = _Recordset_get_ActiveConnection( recordset, NULL ); + ok( hr == E_POINTER, "got %08lx\n", hr ); } V_VT(&active) = VT_UNKNOWN; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8661
Maybe we could remove the whole thing instead. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8661#note_111278
participants (3)
-
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes) -
Nikolay Sivov (@nsivov)