diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-21 13:01:00 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-21 13:01:00 +0000 |
commit | 27c70daeafaf510904d08bf720527c16521da345 (patch) | |
tree | 55b2448e8508313143a0bd7478b2ba7314f81a1c /crawl-ref/source | |
parent | 6dc77c25f680baa205484f7f4e29e1a8f0fb20aa (diff) | |
download | crawl-ref-27c70daeafaf510904d08bf720527c16521da345.tar.gz crawl-ref-27c70daeafaf510904d08bf720527c16521da345.zip |
Initialize a variable in order to quiet some Valgrind warnings.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7527 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/command.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 3c776ea148..af1b764b6c 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -1962,7 +1962,8 @@ static void _add_formatted_keyhelp(column_composer &cols) true, true, _cmdhelp_textfilter); unsigned ch; - unsigned short colour; + // Initialize colour to quiet some Valgrind warnings + unsigned short colour = BLACK; std::string item_types = "<h>Item types (and common commands)\n" "<cyan>)</cyan> : hand weapons (<w>w</w>ield)\n" |