labels: Shrink declare_label

No need to pass unused 'created', find_label can
handle nil here.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-06-30 20:02:24 +03:00
parent 5ce549c354
commit a8e3d6a836

View File

@ -417,10 +417,7 @@ static bool declare_label_lptr(union label *lptr,
bool declare_label(const char *label, enum label_type type, const char *special)
{
union label *lptr;
bool created;
lptr = find_label(label, true, &created);
union label *lptr = find_label(label, true, NULL);
return declare_label_lptr(lptr, type, special);
}