gcc-4.0 warning fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-04-24 20:34:51 +00:00
commit 078ca985cf
4 changed files with 13 additions and 10 deletions

View file

@ -16,6 +16,11 @@ public:
static File *f_cl=0;
static File *f_null=0;
static struct {
int count;
String **entries;
} defined_foreign_types;
const char *identifier_converter="identifier-convert-null";
int any_varargs(ParmList *pl) {
@ -95,11 +100,6 @@ String *convert_literal(String *num_param, String *type) {
return res;
}
struct {
int count;
String **entries;
} defined_foreign_types;
void add_defined_foreign_type(String *type) {
if (!defined_foreign_types.count) {
/* Make fresh */