From c4b344dcde8265e113278636afb75f12f675578b Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 5 Apr 2012 01:19:32 +0000 Subject: [PATCH] Remove isarray variable which is set but never used (fixes GCC 4.6 warning) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12965 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Swig/stype.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Swig/stype.c b/Source/Swig/stype.c index 6250e0b15..5b9708b9a 100644 --- a/Source/Swig/stype.c +++ b/Source/Swig/stype.c @@ -747,7 +747,6 @@ String *SwigType_rcaststr(const SwigType *s, const_String_or_char_ptr name) { int firstarray = 1; int isreference = 0; int isfunction = 0; - int isarray = 0; result = NewStringEmpty(); @@ -838,7 +837,6 @@ String *SwigType_rcaststr(const SwigType *s, const_String_or_char_ptr name) { Delete(size); clear = 0; } - isarray = 1; } else if (SwigType_isfunction(element)) { DOH *parms, *p; int j, plen;