From b3d1c89c7c8953cb4c73b7dba50c9813042976fa Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 23 Jun 2018 13:25:58 +0200 Subject: [PATCH] Remove some unused members in tests. Found by Clang 7. --- effect_chain_test.cpp | 1 - flat_input_test.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index c06622d..6f930da 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -791,7 +791,6 @@ public: private: const MipmapRequirements mipmap_requirements; - EffectChain *chain; float offset[2] { 0.0f, 0.0f }; }; diff --git a/flat_input_test.cpp b/flat_input_test.cpp index 8358dcf..9f92953 100644 --- a/flat_input_test.cpp +++ b/flat_input_test.cpp @@ -331,9 +331,6 @@ public: string effect_type_id() const override { return "MipmapNeedingEffect"; } string output_fragment_shader() override { return read_file("identity.frag"); } - -private: - EffectChain *chain; }; TEST(FlatInput, ExternalTextureMipmapState) { -- 2.39.2