Revert "Fix shadowing variable declaration", because it breaks c++ return value type casting in wrapper functions.

This reverts commit 818a9939ecf10ee6cde3e4e389eaf748ec3999d6.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Leif Middelschulte 2012-08-20 18:55:51 +00:00
commit 4ca26c150e

View file

@ -1107,7 +1107,7 @@ ready:
}
if (!p) break;
type = Getattr(p, "type");
SwigType *type = Getattr(p, "type");
if (SwigType_type(type) == T_VOID) {
p = nextSibling(p);
continue;