From 094aa2589e3920d400be93ae2823a6c4b23db623 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 7 Mar 2014 09:46:44 +0100 Subject: w32: Silence warnings about unused vars. * agent/gpg-agent.c (main) [W32]: Mark unused vars. * sm/gpgsm.c (run_protect_tool) [W32]: Ditto. * g10/trustdb.c (check_regexp) [DISABLE_REGEX]: Ditto. * scd/scdaemon.c (main) [W32]: Ditto. (handle_connections) [W32]: Ditto. (handle_signal) [W32]: Do not build the function at all. * scd/apdu.c (pcsc_send_apdu_direct): Ditto. (connect_pcsc_card): s/long/pcsc_dword_t/. (open_pcsc_reader_direct): Remove var listlen. --- g10/trustdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g10') diff --git a/g10/trustdb.c b/g10/trustdb.c index ea0739986..1bf664b3d 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1333,6 +1333,8 @@ static int check_regexp(const char *expr,const char *string) { #ifdef DISABLE_REGEX + (void)expr; + (void)string; /* When DISABLE_REGEX is defined, assume all regexps do not match. */ return 0; -- cgit v1.2.3