diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-26 11:42:03 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-26 11:42:03 +0000 |
commit | 592c6a235e81c40fd67cddaa429326d2397979a9 (patch) | |
tree | 80d525ad032fcca95345d42b68f2f621b1aeb668 /crawl-ref/source/ouch.cc | |
parent | e8c6cd983a488b452fa1b8355c38c5fa92e626a3 (diff) | |
download | crawl-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/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 7161aee1da..0fdd6d7f9d 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -976,7 +976,7 @@ void end_game( struct scorefile_entry &se ) const int num_suffixes = sizeof(suffixes) / sizeof(const char*); - for ( int i = 0; i < num_suffixes; ++i ) { + for ( i = 0; i < num_suffixes; ++i ) { std::string tmpname = basename + suffixes[i]; unlink( tmpname.c_str() ); } |