mirror of
https://github.com/matrix-construct/construct
synced 2024-12-30 17:34:04 +01:00
ircd::db: Fix bitwise-instead-of-logical warning.
This commit is contained in:
parent
4821f6d2db
commit
35e8d83d45
1 changed files with 1 additions and 1 deletions
|
@ -5295,7 +5295,7 @@ ircd::db::make_opts(const gopts &opts)
|
|||
ret.iter_start_seqnum = opts.seqnum;
|
||||
|
||||
ret.verify_checksums = bool(read_checksum);
|
||||
if(test(opts, get::CHECKSUM) & !test(opts, get::NO_CHECKSUM))
|
||||
if(test(opts, get::CHECKSUM) && !test(opts, get::NO_CHECKSUM))
|
||||
ret.verify_checksums = true;
|
||||
|
||||
if(test(opts, get::NO_SNAPSHOT))
|
||||
|
|
Loading…
Reference in a new issue