common: Comment out unused code.

* common/w32-reg.c (write_w32_registry_string): Comment out.
This commit is contained in:
Werner Koch 2013-07-31 16:15:01 +02:00
parent 2830fcb83c
commit f101f34fff
2 changed files with 2 additions and 4 deletions

View File

@ -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*/

View File

@ -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