From: Cyrill Gorcunov Date: Tue, 20 Apr 2010 11:26:08 +0000 (+0400) Subject: labels.c: lookup_label -- should return bool unconditionally X-Git-Tag: nasm-2.11.05~670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7a64b72a2ca9c0a399545279f96a5b7e39b8b6d;p=platform%2Fupstream%2Fnasm.git labels.c: lookup_label -- should return bool unconditionally Better to not put return under condition. It was bad. Signed-off-by: Cyrill Gorcunov --- diff --git a/labels.c b/labels.c index 32937b3..e727c15 100644 --- a/labels.c +++ b/labels.c @@ -193,8 +193,9 @@ bool lookup_label(char *label, int32_t *segment, int64_t *offset) *segment = lptr->defn.segment; *offset = lptr->defn.offset; return true; - } else - return false; + } + + return false; } bool is_extern(char *label)