From 8e37939a9bc1c902d0929dfae70e8d515de6e684 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 19 Jan 2013 23:58:51 +0100 Subject: [PATCH 1/1] Another NULL initializer, mostly to get Coverity to be quiet. --- effect_chain_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index e78a140..7549103 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -102,7 +102,7 @@ public: template class RewritingEffect : public Effect { public: - RewritingEffect() : effect(new T()) {} + RewritingEffect() : effect(new T()), replaced_node(NULL) {} virtual std::string effect_type_id() const { return "RewritingEffect[" + effect->effect_type_id() + "]"; } std::string output_fragment_shader() { EXPECT_TRUE(false); return read_file("identity.frag"); } virtual void rewrite_graph(EffectChain *graph, Node *self) { -- 2.39.2