Hugh McMaster hugh.mcmaster@outlook.com writes:
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com
programs/reg/reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/reg/reg.h b/programs/reg/reg.h index c7719a6e4f0..c281770bdb4 100644 --- a/programs/reg/reg.h +++ b/programs/reg/reg.h @@ -27,7 +27,7 @@
/* reg.c */ struct reg_type_rels {
- DWORD type;
- const DWORD type; const WCHAR *name;
};
Declaring structure members as const is in general not useful, and potentially makes the struct harder to use.