aboutsummaryrefslogtreecommitdiffstats
path: root/doc/HACKING
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-03-20 07:38:54 +0000
committerWerner Koch <[email protected]>2017-03-20 07:40:21 +0000
commite2c63a13e2fa4ce39af8471a34c06d73ff3ee6f6 (patch)
tree602ad17d95dabfe00d692e7b91c8870be84be913 /doc/HACKING
parenttests: Add test for issue 2959. (diff)
downloadgnupg-e2c63a13e2fa4ce39af8471a34c06d73ff3ee6f6.tar.gz
gnupg-e2c63a13e2fa4ce39af8471a34c06d73ff3ee6f6.zip
gpg: Remove unused stuff.
* g10/OPTIONS: Remove. * g10/options.h (struct opt): Remove 'shm_coprocess'. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--doc/HACKING4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/HACKING b/doc/HACKING
index e7174793e..fc0c3f459 100644
--- a/doc/HACKING
+++ b/doc/HACKING
@@ -168,13 +168,13 @@ Note that such a comment will be removed if the git commit option
that the freed variable is not anymore used, explicitly set the
variable to NULL.
- New code shall in general use xtrymalloc or xtrycalloc and check
- for an error (use gpg_error_from_errno()).
+ for an error (use gpg_error_from_syserror()).
- Init function local variables only if needed so that the compiler
can do a better job in detecting uninitialized variables which may
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
+ - Put 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.