From f101f34fffee4a02e7a5f62b59667e45e50e8325 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 31 Jul 2013 16:15:01 +0200 Subject: [PATCH] common: Comment out unused code. * common/w32-reg.c (write_w32_registry_string): Comment out. --- common/w32-reg.c | 3 ++- common/w32help.h | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common/w32-reg.c b/common/w32-reg.c index d3cb815ff..3ef7a0ae9 100644 --- a/common/w32-reg.c +++ b/common/w32-reg.c @@ -225,6 +225,7 @@ read_w32_registry_string (const char *root, const char *dir, const char *name) /* Note: This code is not well tested. However, it is not used in GnuPG. */ +#if 0 int write_w32_registry_string (const char *root, const char *dir, const char *name, const char *value) @@ -319,5 +320,5 @@ write_w32_registry_string (const char *root, const char *dir, return 0; #endif /*!HAVE_W32CE_SYSTEM*/ } - +#endif /*0*/ #endif /*HAVE_W32_SYSTEM*/ diff --git a/common/w32help.h b/common/w32help.h index 50eda67a0..b9b7c449b 100644 --- a/common/w32help.h +++ b/common/w32help.h @@ -35,9 +35,6 @@ /*-- w32-reg.c --*/ char *read_w32_registry_string (const char *root, const char *dir, const char *name ); -int write_w32_registry_string (const char *root, const char *dir, - const char *name, const char *value); - /* Other stuff. */ #ifdef HAVE_W32CE_SYSTEM