summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-26 11:42:03 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-26 11:42:03 +0000
commit592c6a235e81c40fd67cddaa429326d2397979a9 (patch)
tree80d525ad032fcca95345d42b68f2f621b1aeb668 /crawl-ref/source/menu.h
parente8c6cd983a488b452fa1b8355c38c5fa92e626a3 (diff)
downloadcrawl-ref-592c6a235e81c40fd67cddaa429326d2397979a9.tar.gz
crawl-ref-592c6a235e81c40fd67cddaa429326d2397979a9.zip
Killed a lot of libunix.cc which is no longer necessary with the new
command dispatch mechanism. Cleaned up all remaining variable shadowing warnings. Added -Wshadow and -pedantic to CFLAGS. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@135 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 4552851bb4..a788b92ebc 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -33,7 +33,8 @@ struct menu_letter
return *this;
}
- menu_letter operator ++ (int postfix)
+ // dummy postfix argument unnamed to stop gcc from complaining
+ menu_letter operator ++ (int)
{
menu_letter copy = *this;
this->operator++();