Remove some useless code
diff --git a/CHANGES.current b/CHANGES.current
index f6b3010..2fd55ba 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -6,7 +6,10 @@
===========================
2014-03-28: wsfulton
- [Java C# D Go] Fix for usage of snprintf in Lua runtime which Visual Studio does not have.
+ [Java C# D Go] Fixes for C enums used in an API and the definition of the enum
+ has not been parsed. For D, this fixes a segfault in SWIG. The other languages
+ now produce code that compiles, although the definition of the enum is needed
+ in order to use the enum properly from the target language.
2014-03-23: v-for-vandal
[Lua] Fix for usage of snprintf in Lua runtime which Visual Studio does not have.
diff --git a/Source/Modules/go.cxx b/Source/Modules/go.cxx
index f94921f..a6a74cc 100644
--- a/Source/Modules/go.cxx
+++ b/Source/Modules/go.cxx
@@ -4787,14 +4787,11 @@
ret = NewString("_Complex double ");
} else if (is_interface) {
SwigType *t = SwigType_typedef_resolve_all(type);
- SwigType_strip_qualifiers(t);
if (SwigType_ispointer(t)) {
SwigType_del_pointer(t);
- SwigType_strip_qualifiers(t);
}
if (SwigType_isreference(t)) {
SwigType_del_reference(t);
- SwigType_strip_qualifiers(t);
}
SwigType_add_pointer(t);
ret = SwigType_lstr(t, name);