fix several compiler warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-23 22:58:49 +00:00
commit b670533614
8 changed files with 46 additions and 22 deletions

View file

@ -38,7 +38,7 @@ String *
Swig_cparm_name(Parm *p, int i) {
String *name = NewStringf("arg%d",i+1);
if (p) {
Setattr(p,"lname",name);
Setattr(p,k_lname,name);
}
return name;
@ -770,7 +770,7 @@ int
Swig_add_extension_code(Node *n, const String *function_name, ParmList *parms,
SwigType *return_type, const String *code, int cplusplus) {
String *body = Swig_extension_code(function_name, parms, return_type, code, cplusplus);
Setattr(n,"wrap:code",body);
Setattr(n,k_wrapcode,body);
Delete(body);
return SWIG_OK;
}