From 5a01a8dcee5c095dcebea1f9fdbbb5076022bd6c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 20 Jan 2013 01:43:25 +0100 Subject: [PATCH] Another case of NULL initialization to keep Coverity happy. --- 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 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) { -- 2.39.2