From 4479a196f9e254ba8aa9cf8773307ea85c7e1886 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Tue, 15 Mar 2016 17:39:00 +0100 Subject: [PATCH] Fix colobot-lint warnings --- src/graphics/opengl/gldevice.h | 2 +- test/unit/CBot/CBot_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/opengl/gldevice.h b/src/graphics/opengl/gldevice.h index 8585b21e..0de4d003 100644 --- a/src/graphics/opengl/gldevice.h +++ b/src/graphics/opengl/gldevice.h @@ -250,7 +250,7 @@ private: //! Set of all created textures std::set m_allTextures; //! White texture - GLuint m_whiteTexture; + GLuint m_whiteTexture = 0; //! Map of framebuffers std::map> m_framebuffers; diff --git a/test/unit/CBot/CBot_test.cpp b/test/unit/CBot/CBot_test.cpp index 10faf257..1b6c6e14 100644 --- a/test/unit/CBot/CBot_test.cpp +++ b/test/unit/CBot/CBot_test.cpp @@ -1052,4 +1052,4 @@ TEST_F(CBotUT, TestArrayFunctionReturn) " ASSERT(b[2] == 3);\n" "}\n" ); -} \ No newline at end of file +}