Alexandre Julliard : widl: Silence a gcc warning.
Alexandre Julliard
julliard at winehq.org
Thu Nov 29 15:09:40 CST 2018
Module: wine
Branch: stable
Commit: fb9d02308e80d90d1f800ad80171da1cf13294bc
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fb9d02308e80d90d1f800ad80171da1cf13294bc
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Aug 15 10:48:51 2018 +0200
widl: Silence a gcc warning.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 68cfa7fd03a1ef9f65cc700ea50cfba2be09880f)
Signed-off-by: Michael Stefaniuc <mstefani at 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);
}
More information about the wine-cvs
mailing list