Skip to content

Commit

Permalink
constant
Browse files Browse the repository at this point in the history
  • Loading branch information
riverar committed Sep 5, 2024
1 parent d0b1106 commit ba0a1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/registry/src/key_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl<'a> Iterator for KeyIterator<'a> {
return self.next();
}

if result != 0 {
if result != ERROR_SUCCESS {
debug_assert_eq!(result, ERROR_NO_MORE_ITEMS);
return None;
}
Expand Down

0 comments on commit ba0a1d2

Please sign in to comment.