diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-20 15:26:08 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-21 01:07:25 +0400 |
commit | d7a64b72a2ca9c0a399545279f96a5b7e39b8b6d (patch) | |
tree | c43ff5b948a3d020c934365450a87eaeb2139186 /labels.c | |
parent | 92aa187f3ab5228caa95494e30a7efc06288802e (diff) | |
download | nasm-d7a64b72a2ca9c0a399545279f96a5b7e39b8b6d.tar.gz nasm-d7a64b72a2ca9c0a399545279f96a5b7e39b8b6d.tar.bz2 nasm-d7a64b72a2ca9c0a399545279f96a5b7e39b8b6d.zip |
labels.c: lookup_label -- should return bool unconditionally
Better to not put return under condition. It was bad.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'labels.c')
-rw-r--r-- | labels.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |