From d00e8bd31a185a4000807de6d21eccce9f86671e Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 19 May 2013 21:26:08 -0400 Subject: Fix nearly all warnings --- src/scriptapi_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scriptapi_types.cpp') diff --git a/src/scriptapi_types.cpp b/src/scriptapi_types.cpp index f30451108..f2f6b6bd8 100644 --- a/src/scriptapi_types.cpp +++ b/src/scriptapi_types.cpp @@ -147,7 +147,7 @@ v3s16 check_v3s16(lua_State *L, int index) video::SColor readARGB8(lua_State *L, int index) { - video::SColor color; + video::SColor color(0); luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "a"); if(lua_isnumber(L, -1)) -- cgit v1.2.3