Module: wine Branch: master Commit: 68cfa7fd03a1ef9f65cc700ea50cfba2be09880f URL: https://source.winehq.org/git/wine.git/?a=commit;h=68cfa7fd03a1ef9f65cc700ea...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Aug 15 10:48:51 2018 +0200
widl: Silence a gcc warning.
Signed-off-by: Alexandre Julliard julliard@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 da9ffd0..5b498bf 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -3714,7 +3714,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); }