ui-refs: remove useless null check

There is no way that "tag" can be null here.

Coverity-id: 13950
Signed-off-by: John Keeping <john@keeping.me.uk>
jk/collapsible-sections
John Keeping 9 years ago committed by Jason A. Donenfeld
parent 509488d85c
commit 198a4404b9

@ -135,7 +135,7 @@ static int print_tag(struct refinfo *ref)
tag = (struct tag *)obj;
obj = tag->tagged;
info = ref->tag;
if (!tag || !info)
if (!info)
return 1;
}

Loading…
Cancel
Save