widl: Set name return value (passed by reference) in the alias case alias case in get_user_type.
Alexandre Julliard
julliard at winehq.org
Mon Nov 6 04:22:15 CST 2017
Gerald Pfeifer <gerald at pfeifer.com> writes:
> So, I admit I don't really know this code, but looking at it (triggered
> by a warning issued by GCC development versions), I noticed that this
> variable passed by reference is not initialized here.
It's initialized when we return a type, and it doesn't need to be
initialized on NULL return. The code is correct, but you could probably
set the variable to NULL in the caller to silence the warning.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list