summaryrefslogtreecommitdiff
path: root/modules/gridmap
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-07-03 23:19:22 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-07-07 23:15:03 +0200
commitb6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (patch)
tree885a240c6cc6dfbe7a4daf0a0b002e5ea06ffbb0 /modules/gridmap
parent1b9433594ecc6c935c81e9030a6b52c7b56cb3a4 (diff)
Removed unused variables (first pass)
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
Diffstat (limited to 'modules/gridmap')
-rw-r--r--modules/gridmap/grid_map.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp
index 5e30416641..37a3fb2b25 100644
--- a/modules/gridmap/grid_map.cpp
+++ b/modules/gridmap/grid_map.cpp
@@ -912,7 +912,6 @@ void GridMap::_octant_bake(const OctantKey &p_key, const Ref<TriangleMesh>& p_tm
int lc = p_lights.size();
const BakeLight* bl = p_lights.ptr();
float ofs = cell_size*0.02;
- float att = 0.2;
for(;V;V=V->next()) {