summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 11:55:11 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 11:55:11 +0000
commit9ec81b9ef7c3c19373745b155c49da5006502785 (patch)
tree2a3662d0369b04722288af966eaa2e45ca93b177 /crawl-ref/source/item_use.cc
parent6bda7067bc268b6104b4f55940049b2db25b96fa (diff)
downloadcrawl-ref-9ec81b9ef7c3c19373745b155c49da5006502785.tar.gz
crawl-ref-9ec81b9ef7c3c19373745b155c49da5006502785.zip
Kill more g++ carps.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@460 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index f683822891..30c1047425 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -630,7 +630,7 @@ static bool cloak_is_being_removed( void )
//---------------------------------------------------------------
void wear_armour(void)
{
- int armour_wear_2;
+ int armour_wear_2 = 0;
if (!armour_prompt("Wear which item?", &armour_wear_2, OPER_WEAR))
return;