From b7b1ae43c268203b131797bb92c9a8b32f96d8fd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 4 Nov 2015 12:15:25 +0100 Subject: [PATCH] CID 22493 Dereference after null check CID 22458 Logically dead code github issue #361 --- src/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report.c b/src/report.c index 50a17dffb..f157a75f4 100644 --- a/src/report.c +++ b/src/report.c @@ -2330,7 +2330,7 @@ const char *charset) message *m = 0; if (herb && lux) { m = msg_message("nr_market_info_p", "p1 p2", - lux ? lux->rtype : 0, herb ? herb->rtype : 0); + lux->rtype, herb->rtype); } else if (lux || herb) { m = msg_message("nr_market_info_s", "p1",