More useless code removal as detected by scan-build (LLVM/Clang)

using scan-build ./configure && scan-build make
This commit is contained in:
William S Fulton 2013-03-08 22:19:07 +00:00
commit fdea8a8f51
2 changed files with 1 additions and 2 deletions

View file

@ -1141,7 +1141,7 @@ void Scanner_skip_line(Scanner * s) {
if ((c = nextchar(s)) == 0)
return;
if (c == '\\') {
c = nextchar(s);
nextchar(s);
} else if (c == '\n') {
done = 1;
}

View file

@ -640,7 +640,6 @@ SwigType *SwigType_ltype(const SwigType *s) {
if (td && (SwigType_isconst(td) || SwigType_isarray(td) || SwigType_isreference(td))) {
/* We need to use the typedef type */
Delete(tt);
tt = td;
break;
} else if (td) {
Delete(tt);