summaryrefslogtreecommitdiffstats
path: root/common/w32-reg.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-07-31 16:15:01 +0200
committerWerner Koch <wk@gnupg.org>2013-07-31 16:25:41 +0200
commitf101f34fffee4a02e7a5f62b59667e45e50e8325 (patch)
tree17d16336aa41e0e8b4b03d3d7d0a107147998936 /common/w32-reg.c
parentdirmngr: Remove unused file. (diff)
downloadgnupg2-f101f34fffee4a02e7a5f62b59667e45e50e8325.tar.xz
gnupg2-f101f34fffee4a02e7a5f62b59667e45e50e8325.zip
common: Comment out unused code.
* common/w32-reg.c (write_w32_registry_string): Comment out.
Diffstat (limited to 'common/w32-reg.c')
-rw-r--r--common/w32-reg.c3
1 files changed, 2 insertions, 1 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*/