1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00
Werner Koch 558bcd43ae
gpg: Fix harmless compiler warnings.
* g10/tofu.h (_tofu_GET_POLICY_ERROR): New.  This avoids warnings
about undefined enum values in a switch.
* g10/trustdb.h (_tofu_GET_TRUST_ERROR): New.
* g10/tofu.c (TIME_AGO_FUTURE_IGNORE): Move to the top.
(opendbs): Avoid compiler warning (use braces).
(GET_POLICY_ERROR): Replace define by enum _tofu_GET_POLICY_ERROR.
(get_policy): Remove assert.
(GET_TRUST_ERROR): Replace by _tofu_GET_TRUST_ERROR macro.
(show_statistics): Undef MIN_SECS et al. after use.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-18 20:08:38 +02:00
..
2014-10-31 14:21:34 +01:00
2015-08-06 17:00:41 +09:00
2007-07-04 19:49:40 +00:00
2015-10-08 15:40:53 +02:00
2014-11-13 12:01:42 +01:00
2015-05-01 13:58:18 +09:00
2015-02-04 09:15:34 +01:00
2015-10-18 18:45:40 +02:00
2015-02-04 09:15:34 +01:00
2015-10-18 18:45:40 +02:00
2015-08-31 11:30:54 +02:00
2015-10-18 18:45:40 +02:00
2015-08-06 17:00:41 +09:00
2015-10-18 18:45:40 +02:00
2015-10-18 18:45:40 +02:00
2015-10-18 18:45:40 +02:00
2015-10-05 19:48:47 +02:00
2015-10-18 18:45:40 +02:00
2015-10-05 19:48:47 +02:00
2015-10-18 18:45:40 +02:00
2015-10-18 18:45:40 +02:00
2015-08-06 17:00:41 +09:00
2015-08-06 17:00:41 +09:00
2008-12-12 08:54:50 +00:00
2015-04-06 13:07:09 +02:00
2015-09-10 18:12:20 +02:00
2015-10-18 18:45:40 +02:00
2015-09-10 18:12:20 +02:00
2015-10-18 20:08:38 +02:00
2015-10-18 20:08:38 +02:00
2015-10-18 18:45:40 +02:00
2015-10-18 18:45:40 +02:00
2015-10-18 20:08:38 +02:00
2014-01-29 17:45:05 +01:00