0
0
Fork 0
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:
Jason Volk 2022-05-26 13:20:09 -07:00
parent 4821f6d2db
commit 35e8d83d45

View file

@ -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))