regedit: Remove an unused string array.

Spotted by Austin English with LLVM/Clang.
This commit is contained in:
Andrew Nguyen 2011-01-21 04:58:31 -06:00 committed by Alexandre Julliard
parent 2d12be7df9
commit 6c8f8a64b0
1 changed files with 3 additions and 8 deletions

View File

@ -37,20 +37,15 @@
*/
#define REG_FILE_HEX_LINE_LEN (2 + 25 * 3)
static const CHAR *reg_class_names[] = {
"HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CLASSES_ROOT",
"HKEY_CURRENT_CONFIG", "HKEY_CURRENT_USER", "HKEY_DYN_DATA"
};
#define REG_CLASS_NUMBER (sizeof(reg_class_names) / sizeof(reg_class_names[0]))
extern const WCHAR* reg_class_namesW[];
static HKEY reg_class_keys[REG_CLASS_NUMBER] = {
static HKEY reg_class_keys[] = {
HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CLASSES_ROOT,
HKEY_CURRENT_CONFIG, HKEY_CURRENT_USER, HKEY_DYN_DATA
};
#define REG_CLASS_NUMBER (sizeof(reg_class_keys) / sizeof(reg_class_keys[0]))
/* return values */
#define NOT_ENOUGH_MEMORY 1
#define IO_ERROR 2