Alexandre Julliard : widl: Silence a gcc warning.
Module: wine Branch: stable Commit: fb9d02308e80d90d1f800ad80171da1cf13294bc URL: https://source.winehq.org/git/wine.git/?a=commit;h=fb9d02308e80d90d1f800ad80... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Aug 15 10:48:51 2018 +0200 widl: Silence a gcc warning. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> (cherry picked from commit 68cfa7fd03a1ef9f65cc700ea50cfba2be09880f) Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- tools/widl/typegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index e63600c..584d33e 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -3706,7 +3706,7 @@ static unsigned int get_required_buffer_size_type( { case TGT_USER_TYPE: { - const char *uname; + const char *uname = NULL; const type_t *utype = get_user_type(type, &uname); return get_required_buffer_size_type(utype, uname, NULL, FALSE, alignment); }
participants (1)
-
Alexandre Julliard