diff options
| author | Gregory Maxwell <[email protected]> | 2013-12-02 11:33:44 -0800 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2013-12-02 11:33:44 -0800 |
| commit | 9b59e3bda8c137bff885db5b1f9150346e36e076 (patch) | |
| tree | b00689d36050d3c2f301329a863234c510546b88 /src/init.cpp | |
| parent | Merge pull request #3341 from Need4Video/master (diff) | |
| download | discoin-9b59e3bda8c137bff885db5b1f9150346e36e076.tar.xz discoin-9b59e3bda8c137bff885db5b1f9150346e36e076.zip | |
Sanitize assert usage and refuse to compile with NDEBUG.
There were quite a few places where assert() was used with side effects,
making operation with NDEBUG non-functional. This commit fixes all the
cases I know about, but also adds an #error on NDEBUG because the code
is untested without assertions and may still have vulnerabilities if
used without assert.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions