Remove an unused variable in Android Build
authorLoic Blot <loic.blot@unix-experience.fr>
Mon, 17 Apr 2017 07:37:12 +0000 (09:37 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Mon, 17 Apr 2017 07:37:12 +0000 (09:37 +0200)
src/client/tile.cpp

index 509da3c92b739268990d5caf1e295d7101516331..f0f1800b083200367fc28f759037c4d8da39ca21 100644 (file)
@@ -1126,7 +1126,6 @@ video::IImage* TextureSource::generateImage(const std::string &name)
 inline u16 get_GL_major_version()
 {
        const GLubyte *gl_version = glGetString(GL_VERSION);
-       std::string gl_ver((const char *)gl_version);
        return (u16) (gl_version[0] - '0');
 }