From 80d84631478f41be3eed60b768f646e71dcc3b40 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 16 Dec 2000 06:56:37 +0000 Subject: [PATCH] fixed return value warning by moving return statement. git-svn-id: svn://10.0.0.236/trunk@83762 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/js2/icodeasm.cpp | 3 +-- mozilla/js2/src/icodeasm.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/js/js2/icodeasm.cpp b/mozilla/js/js2/icodeasm.cpp index 6592d172687..9e69fecc13f 100644 --- a/mozilla/js/js2/icodeasm.cpp +++ b/mozilla/js/js2/icodeasm.cpp @@ -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; } } diff --git a/mozilla/js2/src/icodeasm.cpp b/mozilla/js2/src/icodeasm.cpp index 6592d172687..9e69fecc13f 100644 --- a/mozilla/js2/src/icodeasm.cpp +++ b/mozilla/js2/src/icodeasm.cpp @@ -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; } }