String x = "";, dumps core now in the destructor, changed to String x;

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Harco de Hilster 2000-03-05 18:07:28 +00:00
commit 1594189ea9
3 changed files with 19 additions and 17 deletions

View file

@ -1009,7 +1009,7 @@ void JAVA::cpp_close_class() {
void JAVA::cpp_member_func(char *name, char *iname, DataType *t, ParmList *l) {
String arg;
String nativecall = "";
String nativecall;
this->Language::cpp_member_func(name,iname,t,l);
@ -1154,7 +1154,7 @@ void JAVA::cpp_constructor(char *name, char *iname, ParmList *l) {
if(!shadow) return;
if(!shadow_classdef_emitted) emit_shadow_classdef();
String nativecall = "";
String nativecall;
String arg;
fprintf(f_shadow, " public %s(", shadow_classname);