summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-02 14:30:28 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-02 14:30:28 +0000
commitcff828d19f3c7f06af2dbbd3aa380cba72dfbf65 (patch)
tree257bf80721e47f959734bfb7ad58785a6d8eef49 /crawl-ref/source/dungeon.cc
parentde726cf12f8452ff9e1dc37025e316c73045579a (diff)
downloadcrawl-ref-cff828d19f3c7f06af2dbbd3aa380cba72dfbf65.tar.gz
crawl-ref-cff828d19f3c7f06af2dbbd3aa380cba72dfbf65.zip
Fixed older gccs croaking on anon object.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1955 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 469a8de116..18c4f9ba5e 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5641,7 +5641,8 @@ static coord_def labyrinth_find_entry_point(const dgn_region &reg,
return (place);
}
- return (coord_def());
+ coord_def unfound;
+ return (unfound);
}
static void labyrinth_place_entry_point(const dgn_region &region,
@@ -6827,7 +6828,8 @@ static coord_def dgn_find_labyrinth_entry_point()
return (mark->pos);
}
}
- return (coord_def());
+ coord_def unfound;
+ return (unfound);
}
coord_def dgn_find_nearby_stair(dungeon_feature_type stair_to_find,