From 5d43d28aa3c44c3a27fde823f467b0c4be1a58c2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 7 Oct 2016 07:54:38 +0200 Subject: 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 --- doc/HACKING | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/HACKING b/doc/HACKING index bb04fdf6b..e7174793e 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -174,6 +174,8 @@ Note that such a comment will be removed if the git commit option indicate a problem with the code. - Never init static or file local variables to 0 to make sure they end up in BSS. + - But extra parenthesis around terms with binary operators to make + it clear that the binary operator was indeed intended. - Use --enable-maintainer-mode with configure so that all suitable warnings are enabled. -- cgit v1.2.3