From 0001aa732da181e3e204db4b2da61897b5d40d92 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Thu, 19 Oct 2023 18:41:22 -0700 Subject: [PATCH] fix windows build break --- registry/src/regconfighelper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/src/regconfighelper.rs b/registry/src/regconfighelper.rs index 3d1167de9..be392197f 100644 --- a/registry/src/regconfighelper.rs +++ b/registry/src/regconfighelper.rs @@ -99,7 +99,7 @@ pub fn config_set(config: &Registry) -> Result { 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)?; },