summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-01-07 00:32:42 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-01-07 01:03:34 +0100
commit7c5846f437b474be079758c58e724c86d620a582 (patch)
tree90d9a5420471f753596de20f1ba7ebfd9714735e /crawl-ref/source/macro.cc
parent482b2c2f27f18e23bac8b54a9e56b4ba5cab9184 (diff)
downloadcrawl-ref-7c5846f437b474be079758c58e724c86d620a582.tar.gz
crawl-ref-7c5846f437b474be079758c58e724c86d620a582.zip
Remove some unused logic (thanks gcc-4.6).
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index 8866fea102..06a649f6dc 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -284,7 +284,6 @@ static keyseq parse_keyseq(std::string s)
{
int state = 0;
keyseq v;
- int num;
if (s.find("===") == 0)
{
@@ -313,10 +312,7 @@ static keyseq parse_keyseq(std::string s)
v.push_back(c);
}
else if (c == '{')
- {
state = 2;
- num = 0;
- }
// XXX Error handling
break;