wintrust/tests: make sure return values are used (LLVM/Clang) (resend)

Austin English austinenglish at gmail.com
Fri Feb 4 02:49:16 CST 2011


On Fri, Feb 4, 2011 at 00:42, Paul Vriens <paul.vriens.wine at gmail.com> wrote:
> On 02/04/2011 09:32 AM, Austin English wrote:
>>
>> -            ret = funcs->pfnObjectTrust(&data);
>> +            funcs->pfnObjectTrust(&data);
>> +            ok(ret == S_FALSE, "Expected S_FALSE, got %08x\n", ret);
>
> This doesn't look correct (you are removing the assignment and then check
> it). I know that this code path will never be taken, but still.

Fixed, thanks.

Bedtime now, before I make any more typos :-).

-- 
-Austin



More information about the wine-devel mailing list