Commit 6c8f8a64 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

regedit: Remove an unused string array.

Spotted by Austin English with LLVM/Clang.
parent 2d12be7d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment