More useless code removal as detected by scan-build (LLVM/Clang)
using scan-build ./configure && scan-build make
This commit is contained in:
parent
e0b14786d6
commit
fdea8a8f51
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue