On 9/28/21 2:07 PM, Eric Pouech wrote:
after removing the false positives of GCC11 misleading indentation warning, a couple of what looks like true positives:
*dinput8/tests/hid.c:4122 (and same construct line 4480 also)*
<<< current code >>>
if (i == 0 || i == 3) todo_wine_if( i == 0 ) ok( res == WAIT_TIMEOUT, "WaitForSingleObject succeeded\n" ); else ok( res == WAIT_OBJECT_0, "WaitForSingleObject failed\n" ); ResetEvent( event );
the last ResetEvent( event ) call looks badly placed. could someone knowledgeable with the test look into it?
Yes, clang-format messed it up a bit. It should be fixed with the patches I sent today.