diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 2acdcf661..84bcdde8b 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -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;