[PATCH 1/5] reg: Remove two unused string resources

Hugh McMaster hugh.mcmaster at outlook.com
Mon May 31 04:45:20 CDT 2021


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/reg/reg.rc     | 2 --
 programs/reg/resource.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc
index c091023384c..1b451dc016b 100644
--- a/programs/reg/reg.rc
+++ b/programs/reg/reg.rc
@@ -132,7 +132,6 @@ STRINGTABLE
     STRING_DELETE_SUBKEY, "Are you sure you want to delete the registry key '%1'?"
     STRING_INVALID_STRING, "reg: The option [/d] must be followed by a valid string\n"
     STRING_VALUEALL_FAILED, "reg: Unable to delete all registry values in '%1'\n"
-    STRING_GENERAL_FAILURE, "reg: Unable to complete the specified operation. An unexpected error occurred.\n"
     STRING_MATCHES_FOUND, "Search complete. Number of matches found: %1!d!\n"
     STRING_INVALID_SYNTAX, "reg: Invalid syntax. "
     STRING_INVALID_OPTION, "reg: Invalid option [%1]. "
@@ -146,7 +145,6 @@ STRINGTABLE
 \     The name and path of the registry file to import.\n\n"
 
     STRING_FILE_NOT_FOUND, "reg: The file '%1' was not found.\n"
-    STRING_OPEN_KEY_FAILED, "reg: Unable to open the registry key '%1'.\n"
     STRING_ESCAPE_SEQUENCE, "reg: Unrecognized escape sequence [\\%1!c!]\n"
 
     STRING_EXPORT_USAGE, "REG EXPORT <key> <file> [/y]\n\n\
diff --git a/programs/reg/resource.h b/programs/reg/resource.h
index 670d297389a..2a84c1025b3 100644
--- a/programs/reg/resource.h
+++ b/programs/reg/resource.h
@@ -45,7 +45,6 @@
 #define STRING_DELETE_SUBKEY          122
 #define STRING_INVALID_STRING         123
 #define STRING_VALUEALL_FAILED        124
-#define STRING_GENERAL_FAILURE        125
 #define STRING_MATCHES_FOUND          126
 #define STRING_INVALID_SYNTAX         127
 #define STRING_INVALID_OPTION         128
@@ -54,7 +53,6 @@
 #define STRING_VALUE_NOT_SET          131
 #define STRING_IMPORT_USAGE           132
 #define STRING_FILE_NOT_FOUND         133
-#define STRING_OPEN_KEY_FAILED        134
 #define STRING_ESCAPE_SEQUENCE        135
 #define STRING_EXPORT_USAGE           136
 #define STRING_INVALID_SYSTEM_KEY     137
-- 
2.32.0.rc0




More information about the wine-devel mailing list