kill some unused variables, grar

master
Menche 2016-07-17 18:54:43 -07:00
parent 9d707c3493
commit de9eeca556
5 changed files with 7 additions and 7 deletions

View File

@ -81,7 +81,6 @@ private:
video::SMaterial m_material;
core::aabbox3d<f32> m_box;
float m_cloud_y;
float m_brightness;
video::SColorf m_color;
u32 m_seed;
v2f m_camera_pos;

View File

@ -58,8 +58,10 @@ GUIMainMenu::GUIMainMenu(gui::IGUIEnvironment* env,
GUIModalMenu(env, parent, id, menumgr),
m_data(data),
m_accepted(false),
m_gamecallback(gamecallback),
m_sound(sound)
#if USE_SOUND == 1
m_sound(sound),
#endif
m_gamecallback(gamecallback)
{
assert(m_data);
this->env = env;

View File

@ -184,7 +184,9 @@ private:
MainMenuData *m_data;
bool m_accepted;
IGameCallback *m_gamecallback;
#if USE_SOUND == 1
ISoundManager *m_sound;
#endif
gui::IGUIEnvironment* env;
gui::IGUIElement* parent;

View File

@ -103,8 +103,7 @@ class HTTPRemoteClient
{
public:
HTTPRemoteClient(TCPSocket *sock, HTTPServer *server):
m_response(""),
m_auth(false)
m_response("")
{
m_socket = sock;
m_server = server;
@ -134,7 +133,6 @@ private:
HTTPRequestHeaders m_recv_headers;
HTTPResponseHeaders m_send_headers;
std::string m_response;
bool m_auth;
TCPSocket *m_socket;
HTTPServer *m_server;
};

View File

@ -84,7 +84,6 @@ private:
video::SColor m_skycolor;
video::SColorf m_cloudcolor_f;
v3f m_stars[SKY_STAR_COUNT];
u16 m_star_indices[SKY_STAR_COUNT*4];
video::S3DVertex m_star_vertices[SKY_STAR_COUNT*4];
};