diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-05-05 19:30:39 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-05 10:00:10 -0700 |
commit | cf475114f6fc1720444fcc1da66cf664b018c3f4 (patch) | |
tree | 28614a6e0b50838fa6183a3cddde3c9fda379a86 /windows.c | |
parent | fb504b50d0f2b881d2be6dcc657f74cca663d217 (diff) | |
download | subsurface-cf475114f6fc1720444fcc1da66cf664b018c3f4.tar.gz |
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>
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 4 |
1 files changed, 1 insertions, 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) |