diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-13 18:05:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-13 18:05:30 +0000 |
commit | e788bbaa89ad9aa5a0cd56b5a705996c040b0090 (patch) | |
tree | eddc7fbce7815d4edf8e6dcff43f7a1c1b9e268c /crawl-ref/source/stuff.cc | |
parent | 7f8610e3e3c52cdcc3b2c4ee7b4c213534ab6310 (diff) | |
download | crawl-ref-e788bbaa89ad9aa5a0cd56b5a705996c040b0090.tar.gz crawl-ref-e788bbaa89ad9aa5a0cd56b5a705996c040b0090.zip |
Silenced some valgrind warning noises.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1997 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index b1c972b826..6d0f282909 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -423,6 +423,7 @@ void end(int exit_code, bool print_error, const char *format, ...) if (error[error.length() - 1] != '\n') error += "\n"; fprintf(stderr, "%s", error.c_str()); + error.clear(); } #if defined(WIN32CONSOLE) || defined(DOS) |