From: Steinar H. Gunderson Date: Sat, 23 Jun 2018 11:25:58 +0000 (+0200) Subject: Remove some unused members in tests. Found by Clang 7. X-Git-Tag: 1.6.3~7 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=b3d1c89c7c8953cb4c73b7dba50c9813042976fa;ds=sidebyside Remove some unused members in tests. Found by Clang 7. --- 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) {