From: Steinar H. Gunderson Date: Sat, 19 Jan 2013 22:58:51 +0000 (+0100) Subject: Another NULL initializer, mostly to get Coverity to be quiet. X-Git-Tag: 1.0~159 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=8e37939a9bc1c902d0929dfae70e8d515de6e684;ds=sidebyside Another NULL initializer, mostly to get Coverity to be quiet. --- 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) {