From a9dd72b92da3f97ff046ea2a7a8b0fe4e278acee Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 27 Mar 2003 00:33:41 +0000 Subject: [PATCH] warning fix git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/csharp.cxx | 4 ++-- Source/Modules/java.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx index f1566fa4d..ba44f361a 100644 --- a/Source/Modules/csharp.cxx +++ b/Source/Modules/csharp.cxx @@ -1275,7 +1275,7 @@ class CSHARP : public Language { String *nativecall = NewString(""); String *shadowrettype = NewString(""); String *function_code = NewString(""); - bool setter_flag; + bool setter_flag = false; if(!proxy_flag) return; @@ -1666,7 +1666,7 @@ class CSHARP : public Language { int num_required = 0; String *overloaded_name = getOverloadedName(n); String *func_name = NULL; - bool setter_flag; + bool setter_flag = false; if (l) { if (SwigType_type(Getattr(l,"type")) == T_VOID) { diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index ab7656ef8..5b63637fb 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -1587,7 +1587,7 @@ class JAVA : public Language { int num_required = 0; String *overloaded_name = getOverloadedName(n); String *func_name = NULL; - bool setter_flag; + bool setter_flag = false; if (l) { if (SwigType_type(Getattr(l,"type")) == T_VOID) {