From 39ec03b2af3995cd76efab8db16a58b15061c129 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 12 Mar 2017 12:02:29 +0100 Subject: [PATCH] coverity CID 164473 remove logically dead code. --- src/spy.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spy.c b/src/spy.c index c9667f7ee..08662ea8e 100644 --- a/src/spy.c +++ b/src/spy.c @@ -199,8 +199,6 @@ static bool can_set_factionstealth(const unit * u, const faction * f) } ru = ru->next; } - if (ru != NULL) - break; } mu = mu->nextF; }