Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6c8f8a64
Commit
6c8f8a64
authored
Jan 21, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jan 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Remove an unused string array.
Spotted by Austin English with LLVM/Clang.
parent
2d12be7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
regproc.c
programs/regedit/regproc.c
+3
-8
No files found.
programs/regedit/regproc.c
View file @
6c8f8a64
...
@@ -37,20 +37,15 @@
...
@@ -37,20 +37,15 @@
*/
*/
#define REG_FILE_HEX_LINE_LEN (2 + 25 * 3)
#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
[];
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_LOCAL_MACHINE
,
HKEY_USERS
,
HKEY_CLASSES_ROOT
,
HKEY_CURRENT_CONFIG
,
HKEY_CURRENT_USER
,
HKEY_DYN_DATA
HKEY_CURRENT_CONFIG
,
HKEY_CURRENT_USER
,
HKEY_DYN_DATA
};
};
#define REG_CLASS_NUMBER (sizeof(reg_class_keys) / sizeof(reg_class_keys[0]))
/* return values */
/* return values */
#define NOT_ENOUGH_MEMORY 1
#define NOT_ENOUGH_MEMORY 1
#define IO_ERROR 2
#define IO_ERROR 2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment