diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-09-05 10:16:08 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-09-05 10:16:08 +0200 |
commit | de7e71ba2b7d26c550ac9a364fa113d0ec5d3dea (patch) | |
tree | cd2765fa568edf85f03b7c2d3e688b3d1c234ad5 /crawl-ref/source/package.cc | |
parent | c83acb7bda297e6ed63f4f07b6dc459f9fd7b939 (diff) | |
download | crawl-ref-de7e71ba2b7d26c550ac9a364fa113d0ec5d3dea.tar.gz crawl-ref-de7e71ba2b7d26c550ac9a364fa113d0ec5d3dea.zip |
Disable COSTLY_ASSERTS.
They apply only to the core internal format whose code is pretty solid
(stress-tested on hundreds of millions of random operations), and the file
gets fscked on rw opens anyway.
It's code outside of package.cc which could use better checks.
Diffstat (limited to 'crawl-ref/source/package.cc')
-rw-r--r-- | crawl-ref/source/package.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/package.cc b/crawl-ref/source/package.cc index 044377950a..23c5b6d368 100644 --- a/crawl-ref/source/package.cc +++ b/crawl-ref/source/package.cc @@ -40,7 +40,7 @@ Caveats/issues: #include "errors.h" #undef FSCK_VERBOSE -#define COSTLY_ASSERTS +#undef COSTLY_ASSERTS #undef DO_FSYNC #undef DEBUG_PACKAGE |