mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
set subsurface_flush_conf() to no-op in wondows.c
flushing the entire registry is not required on windows. simply closing the registry key when done would suffice. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fb504b50d0
commit
cf475114f6
1 changed files with 1 additions and 3 deletions
|
@ -75,9 +75,7 @@ const void *subsurface_get_conf(char *name, pref_type_t type)
|
|||
|
||||
void subsurface_flush_conf(void)
|
||||
{
|
||||
/* I wonder if we should even do this - it's apparently very expensive */
|
||||
if (RegFlushKey(hkey) != ERROR_SUCCESS)
|
||||
printf("RegFlushKey failed \n");
|
||||
/* this is a no-op */
|
||||
}
|
||||
|
||||
void subsurface_close_conf(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue