From 1b5c9da500d7db6243b1ad02ea015daf127152f3 Mon Sep 17 00:00:00 2001 From: Andrettin <6322423+Andrettin@users.noreply.github.com> Date: Fri, 14 Jan 2022 07:44:16 +0100 Subject: [PATCH] Fixed parameter unused warning --- src/script/condition/trait_condition.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/condition/trait_condition.h b/src/script/condition/trait_condition.h index ff4bb1208..64cd919bf 100644 --- a/src/script/condition/trait_condition.h +++ b/src/script/condition/trait_condition.h @@ -41,6 +41,7 @@ class trait_condition final : public condition virtual bool check(const CPlayer *player, const read_only_context &ctx, const bool ignore_units) const override { + Q_UNUSED(player) Q_UNUSED(ctx) Q_UNUSED(ignore_units)