gcc-4.0 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8b3b5d6a11
commit
f9ca6ab4c0
4 changed files with 13 additions and 10 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue