Author: John Keeping <john@keeping.me.uk>
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>
ui-refs.c | 2 +-
diff --git a/ui-refs.c b/ui-refs.c
index be3572cadd21b04e52f8356573be34f527363488..295a4c7b00923c1c2d31594ff8f737bad82ba4b6 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -135,7 +135,7 @@ if (obj->type == OBJ_TAG) {
tag = (struct tag *)obj;
obj = tag->tagged;
info = ref->tag;
- if (!tag || !info)
+ if (!info)
return 1;
}