From: Steinar H. Gunderson Date: Sun, 20 Jan 2013 00:43:25 +0000 (+0100) Subject: Another case of NULL initialization to keep Coverity happy. X-Git-Tag: 1.0~155 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=5a01a8dcee5c095dcebea1f9fdbbb5076022bd6c Another case of NULL initialization to keep Coverity happy. --- diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index 614bffc..1b427a7 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -400,7 +400,7 @@ private: // which outputs blank alpha. class RewritingToBlueInput : public Input { public: - RewritingToBlueInput() { register_int("needs_mipmaps", &needs_mipmaps); } + RewritingToBlueInput() : blue_node(NULL) { register_int("needs_mipmaps", &needs_mipmaps); } virtual std::string effect_type_id() const { return "RewritingToBlueInput"; } std::string output_fragment_shader() { EXPECT_TRUE(false); return read_file("identity.frag"); } virtual void rewrite_graph(EffectChain *graph, Node *self) {