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>
This commit is contained in:
John Keeping 2015-10-08 23:23:59 +01:00 committed by Jason A. Donenfeld
父節點 509488d85c
當前提交 198a4404b9
共有 1 個文件被更改,包括 1 次插入1 次删除

查看文件

@ -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;
}