diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-12 20:22:38 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-12 20:22:38 -0700 |
commit | 4ea952d5c03e18b9ddd0e97f4434cd9092358dab (patch) | |
tree | f0f627dc9188eb11b02bed39ca66287ccd9634af /src/db.h | |
parent | 0ca8324f599eda83cae5f6a99ed9d1d40ec3ff2d (diff) | |
parent | d0538a81bb7836865086d72ccc6a4d263fa49aef (diff) | |
download | bitcoin-4ea952d5c03e18b9ddd0e97f4434cd9092358dab.tar.xz |
Merge pull request #399 from muggenhor/warning-fixes
Warning fixes
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ protected: if (!pdb) return false; if (fReadOnly) - assert(("Write called on database in read-only mode", false)); + assert(!"Write called on database in read-only mode"); // Key CDataStream ssKey(SER_DISK); @@ -117,7 +117,7 @@ protected: if (!pdb) return false; if (fReadOnly) - assert(("Erase called on database in read-only mode", false)); + assert(!"Erase called on database in read-only mode"); // Key CDataStream ssKey(SER_DISK); |