1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 04:35:20 +01:00

Fix all warnings and remove -Wno-unused-but-set cflag

This commit is contained in:
kwolekr
2015-01-18 23:29:19 -05:00
parent e36681101e
commit 38bd9e93a2
17 changed files with 175 additions and 205 deletions

View File

@@ -3220,8 +3220,6 @@ bool ServerMap::loadSectorMeta(v2s16 p2d)
{
DSTACK(__FUNCTION_NAME);
MapSector *sector = NULL;
// The directory layout we're going to load from.
// 1 - original sectors/xxxxzzzz/
// 2 - new sectors2/xxx/zzz/
@@ -3241,7 +3239,7 @@ bool ServerMap::loadSectorMeta(v2s16 p2d)
}
try{
sector = loadSectorMeta(sectordir, loadlayout != 2);
loadSectorMeta(sectordir, loadlayout != 2);
}
catch(InvalidFilenameException &e)
{