Fix some perl warnings reported by Steve Fink and also attached to patch 960326.

I had to pass -Wall -Wextra to gcc to generate the warnings fixed by this patch.

VS: ----------------------------------------------------------------------


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
John Lenz 2004-08-23 07:16:30 +00:00
commit 1980a5cbdf

View file

@ -332,7 +332,7 @@ public:
Printf(f_wrappers,"%s",type_table);
Delete(type_table);
Printf(constant_tab,"{0}\n};\n");
Printf(constant_tab,"{0,0,0,0,0,0}\n};\n");
Printv(f_wrappers,constant_tab,NIL);
Printf(f_wrappers,"#ifdef __cplusplus\n}\n#endif\n");
@ -342,7 +342,7 @@ public:
Printf(f_init,"}\n");
/* Finish off tables */
Printf(variable_tab, "{0}\n};\n");
Printf(variable_tab, "{0,0,0,0}\n};\n");
Printv(f_wrappers,variable_tab,NIL);
Printf(command_tab,"{0,0}\n};\n");