[PATCH] msvcirt/tests: Fix uninitialized variable warning.

Piotr Caban piotr.caban at gmail.com
Mon Feb 14 08:39:30 CST 2022


Hi Eric,

On 2/13/22 17:15, Eric Pouech wrote:
> +#define call_func1(func,_this) ((1)?0:(func(_this),0),call_thiscall_func1(func,_this))
I don't really like this solution. I'm not sure if it's needed taking in 
account the types are already checked in 64-bit case. Also I think that 
it will be much cleaner to start using thiscall on clang instead. It's 
not very common configuration but it will allow type checking. Another 
way of improving type checking is to get rid of casts in callers.

Thanks,
Piotr



More information about the wine-devel mailing list