summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 20:00:51 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 20:00:51 +0000
commit747489819348c28b70d2cf55ed53dc1fd8898aa7 (patch)
tree12e1aad4f7fb7b00555cdf3196fc8acc04dd7f36 /crawl-ref/source
parentda9c4accf8c06831d99a0c1a6e66d20b480c26b0 (diff)
downloadcrawl-ref-747489819348c28b70d2cf55ed53dc1fd8898aa7.tar.gz
crawl-ref-747489819348c28b70d2cf55ed53dc1fd8898aa7.zip
Stop MinGW complaining about possibly uninitialised variables.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1671 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/decks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 4421f45553..2cc06286cb 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -969,7 +969,7 @@ static void summon_any_monster(int power, deck_rarity_type rarity)
{
const int power_level = get_power_level(power, rarity);
monster_type mon_chosen = NUM_MONSTERS;
- int chosen_x, chosen_y;
+ int chosen_x = 0, chosen_y = 0;
int num_tries;
if ( power_level == 0 )