Remove redundant code highlighted by warnings in gcc-4.6

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-03-14 07:22:08 +00:00
commit a63d456f8a
25 changed files with 19 additions and 157 deletions

View file

@ -269,7 +269,6 @@ static void String_clear(DOH *so) {
static int String_insert(DOH *so, int pos, DOH *str) {
String *s;
char *nstr;
int len;
char *data;
@ -289,7 +288,6 @@ static int String_insert(DOH *so, int pos, DOH *str) {
data = (char *) (str);
len = (int) strlen(data);
}
nstr = s->str;
if (pos < 0)
pos = 0;