[PATCH] dssenh/tests: Avoid separation for the same assignment expression.

Huw Davies huw at codeweavers.com
Thu Jul 12 07:47:31 CDT 2018


On Thu, Jul 12, 2018 at 03:15:31PM +0300, Andrey Gusev wrote:
> Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
> ---
>  dlls/dssenh/tests/dssenh.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/dlls/dssenh/tests/dssenh.c b/dlls/dssenh/tests/dssenh.c
> index b62f592f5f..6b606fb716 100644
> --- a/dlls/dssenh/tests/dssenh.c
> +++ b/dlls/dssenh/tests/dssenh.c
> @@ -852,8 +852,7 @@ static void test_signhash_array(HCRYPTPROV hProv, const struct signature_test *t
>  
>      for (i = 0; i < testLen; i++)
>      {
> -        DWORD signLen1 = tests[i].dataLen;
> -        DWORD signLen2 = tests[i].dataLen;
> +        DWORD signLen1, signLen2 = tests[i].dataLen;

Huh?  So now signLen1 is uninitialized...

What are you trying to fix here?

Huw.



More information about the wine-devel mailing list