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 {
201201 } ;
202202 if let Some ( value_name) = & self . config . value_name {
203203 match reg_key. delete_value ( value_name) {
204- Ok ( _ ) | Err ( value:: Error :: NotFound ( _, _) ) => {
204+ Ok ( ( ) ) | Err ( value:: Error :: NotFound ( _, _) ) => {
205205 // if the value doesn't exist, we don't need to do anything
206206 } ,
207207 Err ( e) => return Err ( RegistryError :: RegistryValue ( e) ) ,
@@ -221,7 +221,7 @@ impl RegistryHelper {
221221 } ;
222222
223223 match parent_reg_key. delete ( subkey_name, true ) {
224- Ok ( _ ) | Err ( key:: Error :: NotFound ( _, _) ) => {
224+ Ok ( ( ) ) | Err ( key:: Error :: NotFound ( _, _) ) => {
225225 // if the subkey doesn't exist, we don't need to do anything
226226 } ,
227227 Err ( e) => return Err ( RegistryError :: RegistryKey ( e) ) ,
You can’t perform that action at this time.
0 commit comments