diff options
author | sfan5 <sfan5@live.de> | 2014-07-06 13:07:23 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2014-07-06 13:19:21 +0200 |
commit | 37b7f094e3ea502339794f64e8bad22444c6fb54 (patch) | |
tree | 7d0e86cdaf18abaf1f101311645ae6a90a6d5a06 /src/shader.cpp | |
parent | 5f9962e1cc04a773d162ba9c0dc44407b55c4bf8 (diff) | |
download | minetest-37b7f094e3ea502339794f64e8bad22444c6fb54.tar.gz minetest-37b7f094e3ea502339794f64e8bad22444c6fb54.tar.bz2 minetest-37b7f094e3ea502339794f64e8bad22444c6fb54.zip |
Fix warnings reported by clang
Diffstat (limited to 'src/shader.cpp')
-rw-r--r-- | src/shader.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shader.cpp b/src/shader.cpp index ef15f29ba..0ac54ec08 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -211,8 +211,7 @@ public: class MainShaderConstantSetter : public IShaderConstantSetter { public: - MainShaderConstantSetter(IrrlichtDevice *device): - m_device(device) + MainShaderConstantSetter(IrrlichtDevice *device) {} ~MainShaderConstantSetter() {} @@ -256,9 +255,6 @@ public: services->setVertexShaderConstant(world.pointer(), 8, 4); } - -private: - IrrlichtDevice *m_device; }; /* |