From 44bdfef7627815124eef2da99630acddf35123c3 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 17 Dec 2022 07:28:36 +0200 Subject: [PATCH] Drop unused variable 'sz' causing os_x build failure See osdn #46299 Signed-off-by: Marko Lindqvist --- common/requirements.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/requirements.c b/common/requirements.c index 5b2e91ef5f..d8a87da46e 100644 --- a/common/requirements.c +++ b/common/requirements.c @@ -5034,7 +5034,6 @@ enum fc_tristate { bool active = TRUE; bool certain = TRUE; - int sz = requirement_vector_size(reqs); fc_assert_ret_val(NULL != tester, TRI_NO); requirement_vector_iterate(reqs, preq) { @@ -5059,14 +5058,11 @@ enum fc_tristate if (!active) { break; } - sz--; } requirement_vector_iterate_end; return certain ? (active ? TRI_YES : TRI_NO) : TRI_MAYBE; } - - /**********************************************************************//** Gives a suggestion may req ever evaluate to another value with given context. (The other player is not supplied since it has no value -- 2.35.1