Alexandre Julliard : widl: Silence a gcc warning.

Alexandre Julliard julliard at winehq.org
Wed Aug 15 14:39:53 CDT 2018


Module: wine
Branch: master
Commit: 68cfa7fd03a1ef9f65cc700ea50cfba2be09880f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=68cfa7fd03a1ef9f65cc700ea50cfba2be09880f

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>

---

 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);
     }




More information about the wine-cvs mailing list