From c373382c1edabd134c938e3c272ee40b5ee590b6 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 26 Jul 2008 08:27:50 +0000 Subject: Fixed compiler warnings in Windows build (MinGW). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3125 e7ae566f-a301-0410-adde-c780ea21d3b5 --- error.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'error.c') diff --git a/error.c b/error.c index 842ad83..f1e7996 100644 --- a/error.c +++ b/error.c @@ -78,7 +78,9 @@ static bool use_syslog; /* GLOBAL */ static bool suppress_timestamps; /* GLOBAL */ /* The program name passed to syslog */ +#if SYSLOG_CAPABILITY static char *pgmname_syslog; /* GLOBAL */ +#endif /* If non-null, messages should be written here (used for debugging only) */ static FILE *msgfp; /* GLOBAL */ -- cgit