fixed return value warning by moving return statement.

git-svn-id: svn://10.0.0.236/trunk@83762 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com
2000-12-16 06:56:37 +00:00
parent 2de2a6e927
commit 80d8463147
2 changed files with 2 additions and 4 deletions

View File

@@ -479,7 +479,6 @@ namespace ICodeASM {
throw JSParseException (eidDuplicateLabel);
}
}
return firstTokenEnd;
} else {
/* the thing we scanned was an instruction, search the icode map
* for a matching instruction */
@@ -493,7 +492,7 @@ namespace ICodeASM {
/* otherwise, choke on it */
throw JSParseException (eidUnknownICode);
}
return firstTokenEnd;
}
}

View File

@@ -479,7 +479,6 @@ namespace ICodeASM {
throw JSParseException (eidDuplicateLabel);
}
}
return firstTokenEnd;
} else {
/* the thing we scanned was an instruction, search the icode map
* for a matching instruction */
@@ -493,7 +492,7 @@ namespace ICodeASM {
/* otherwise, choke on it */
throw JSParseException (eidUnknownICode);
}
return firstTokenEnd;
}
}