remove some cruft possibly causing problems on old compilers

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-01-31 22:49:56 +00:00
commit 300af7d484

View file

@ -1513,7 +1513,6 @@ public:
void insertCleanupCode(ParmList *l, String *cleanup) {
String *tm;
for (Parm *p = l; p;) {
// if (!checkAttribute(p,"tmap:in:numinputs","0") && (tm = Getattr(p,"tmap:freearg"))) {
if ((tm = Getattr(p, "tmap:freearg"))) {
if (Len(tm) != 0) {
Replaceall(tm, "$source", Getattr(p, "lname"));