Skip to content

Commit

Permalink
fix windows build break
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Oct 20, 2023
1 parent b8eddec commit 0001aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/src/regconfighelper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn config_set(config: &Registry) -> Result<String, RegistryError> {
None => {
// just verify that the value exists
match reg_key.get_value(value_name) {
Ok(()) => {},
Ok(_) => {},
Err(NtStatusError { status: NtStatusErrorKind::ObjectNameNotFound, .. }) => {
reg_key.set_value(value_name, &NtRegistryValueData::None)?;
},
Expand Down

0 comments on commit 0001aa7

Please sign in to comment.