mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Put extra parens around bit tests.
* g10/options.h (DBG_MPI): New. * g10/gpg.c (set_debug): Use macro or extra parens for binary operator. * g10/parse-packet.c (set_packet_list_mode): Use dbg macro. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
fc0b392e76
commit
5d43d28aa3
4 changed files with 10 additions and 7 deletions
|
@ -305,6 +305,7 @@ struct {
|
|||
|
||||
/* Tests for the debugging flags. */
|
||||
#define DBG_PACKET (opt.debug & DBG_PACKET_VALUE)
|
||||
#define DBG_MPI (opt.debug & DBG_MPI_VALUE)
|
||||
#define DBG_CRYPTO (opt.debug & DBG_CRYPTO_VALUE)
|
||||
#define DBG_FILTER (opt.debug & DBG_FILTER_VALUE)
|
||||
#define DBG_CACHE (opt.debug & DBG_CACHE_VALUE)
|
||||
|
@ -317,7 +318,7 @@ struct {
|
|||
#define DBG_LOOKUP (opt.debug & DBG_LOOKUP_VALUE)
|
||||
#define DBG_EXTPROG (opt.debug & DBG_EXTPROG_VALUE)
|
||||
|
||||
/* FIXME: We need to check whey we did not put this into opt. */
|
||||
/* FIXME: We need to check why we did not put this into opt. */
|
||||
#define DBG_MEMORY memory_debug_mode
|
||||
#define DBG_MEMSTAT memory_stat_debug_mode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue