From 198a4404b937033cf2cf2b054242df4e81ef3075 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Thu, 8 Oct 2015 23:23:59 +0100 Subject: ui-refs: remove useless null check There is no way that "tag" can be null here. Coverity-id: 13950 Signed-off-by: John Keeping --- ui-refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-refs.c b/ui-refs.c index be3572c..295a4c7 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -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; } -- cgit 1.4.1 ec4cb616c797eae'>this commit dontfiles
summary refs log tree commit diff
Commit message (Expand)Author
2020-06-08Prefix mandoc with exec in about-filterJune McEnroe
2020-06-07Remove mktemp options from mkbuiltins, mktokensJune McEnroe
2020-06-07Cast z_stream fields to size_tJune McEnroe
2020-06-07Call static_assert by _Static_assertJune McEnroe
2020-06-07Add OpenBSD to install.shJune McEnroe
2020-06-03Add The Song of AchillesJune McEnroe
2020-06-01Allow redirecting input in everJune McEnroe
2020-05-31Add %c conversion to c scriptJune McEnroe
2020-05-31Add c script to READMEJune McEnroe
2020-05-31Add c scriptJune McEnroe
2020-05-31Update mdoc source URLsJune McEnroe
2020-05-26Remove unfinished PSF fontsJune McEnroe