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>
This commit is contained in:
Cyrill Gorcunov 2010-04-20 15:26:08 +04:00
parent 92aa187f3a
commit d7a64b72a2

View file

@ -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)