summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/dungeon.cc1
-rw-r--r--crawl-ref/source/libw32c.h1
-rw-r--r--crawl-ref/source/mapdef.cc2
3 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 5d67bcebe2..b98cb26b44 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5357,7 +5357,6 @@ static void build_rooms(const dgn_region_list &excluded,
{
const coord_def c = connections[0];
connections.erase( connections.begin() );
- coord_def edge = myroom.random_edge_point();
join_the_dots(c, myroom.random_edge_point(), excluded);
}
else if (exclusive)
diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h
index 37372976ee..441fdf374d 100644
--- a/crawl-ref/source/libw32c.h
+++ b/crawl-ref/source/libw32c.h
@@ -13,7 +13,6 @@
typedef std::basic_string<char> string;
#endif
-#include <excpt.h>
#include <stdarg.h>
#define _NORMALCURSOR true
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index a817cea5c8..7c3c037b7f 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -22,7 +22,7 @@ static const char *map_section_names[] = {
"float",
};
-static const char *map_section_name(int msect)
+const char *map_section_name(int msect)
{
if (msect < 0 || msect >= MAP_NUM_SECTION_TYPES)
return "";