commit 1330ac105ab7c147983c2d162030cda069dbff21 parent 3225bfe99df3d7d5822c4384f9f2c187fb11783f Author: William Casarin <jb55@jb55.com> Date: Sun, 17 Dec 2023 13:53:15 -0800 fix some warnings Diffstat:
M | src/config.rs | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/config.rs b/src/config.rs @@ -28,12 +28,12 @@ impl Config { } pub fn skip_validation(&mut self, skip: bool) -> &mut Self { - let NDB_FLAG_SKIP_NOTE_VERIFY: i32 = (1 << 1); + let skip_note_verify: i32 = 1 << 1; if skip { - self.config.flags |= NDB_FLAG_SKIP_NOTE_VERIFY + self.config.flags |= skip_note_verify; } else { - self.config.flags &= !NDB_FLAG_SKIP_NOTE_VERIFY + self.config.flags &= !skip_note_verify; } self