More -Weffc++ cleanup
[supertux.git] / src / video / sdl / sdl_texture.cpp
index 0651c12..412c776 100644 (file)
@@ -600,7 +600,8 @@ SDL_Surface *optimize(SDL_Surface *src)
 }
 }
 
-SDLTexture::SDLTexture(SDL_Surface* image)
+SDLTexture::SDLTexture(SDL_Surface* image) :
+  texture()
 {
   texture = optimize(image);
   //width = texture->w;