summaryrefslogtreecommitdiff
path: root/src/mapgen.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-18 23:29:19 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-18 23:29:19 -0500
commit38bd9e93a252cb2dd5ace6b0132514edff38b504 (patch)
tree07a891ba1f709cdb1651e7169a0e0a7f80425552 /src/mapgen.cpp
parente36681101efdfec3ed9cf9d70f7c5296c4124cd6 (diff)
downloadminetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.tar.gz
minetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.tar.bz2
minetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.zip
Fix all warnings and remove -Wno-unused-but-set cflag
Diffstat (limited to 'src/mapgen.cpp')
-rw-r--r--src/mapgen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp
index ef3daf305..ba1b16d6a 100644
--- a/src/mapgen.cpp
+++ b/src/mapgen.cpp
@@ -310,7 +310,6 @@ void Mapgen::spreadLight(v3s16 nmin, v3s16 nmax)
{
//TimeTaker t("spreadLight");
VoxelArea a(nmin, nmax);
- v3s16 em = vm->m_area.getExtent();
for (int z = a.MinEdge.Z; z <= a.MaxEdge.Z; z++) {
for (int y = a.MinEdge.Y; y <= a.MaxEdge.Y; y++) {