From b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Aug 2016 20:44:07 +0300 Subject: Remove wrong check from script.c --- src/map/script.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/map/script.c b/src/map/script.c index c5bf209a6..bb6a13fd9 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5767,7 +5767,6 @@ int menu_countoptions(const char* str, int max_count, int* total) int bogus_total; nullpo_ret(str); - nullpo_ret(total); if( total == NULL ) total = &bogus_total; ++(*total); -- cgit v1.2.3-60-g2f50