[PATCH] configure.ac: don't use -Wmisleading-indentation compiler option (GCC11)
Rémi Bernon
rbernon at codeweavers.com
Tue Sep 28 07:16:57 CDT 2021
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.
--
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel
mailing list