File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl RegistryHelper {
201
201
} ;
202
202
if let Some ( value_name) = & self . config . value_name {
203
203
match reg_key. delete_value ( value_name) {
204
- Ok ( _ ) | Err ( value:: Error :: NotFound ( _, _) ) => {
204
+ Ok ( ( ) ) | Err ( value:: Error :: NotFound ( _, _) ) => {
205
205
// if the value doesn't exist, we don't need to do anything
206
206
} ,
207
207
Err ( e) => return Err ( RegistryError :: RegistryValue ( e) ) ,
@@ -221,7 +221,7 @@ impl RegistryHelper {
221
221
} ;
222
222
223
223
match parent_reg_key. delete ( subkey_name, true ) {
224
- Ok ( _ ) | Err ( key:: Error :: NotFound ( _, _) ) => {
224
+ Ok ( ( ) ) | Err ( key:: Error :: NotFound ( _, _) ) => {
225
225
// if the subkey doesn't exist, we don't need to do anything
226
226
} ,
227
227
Err ( e) => return Err ( RegistryError :: RegistryKey ( e) ) ,
You can’t perform that action at this time.
0 commit comments