mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Remove unused stuff.
* g10/OPTIONS: Remove. * g10/options.h (struct opt): Remove 'shm_coprocess'. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
fb9d68d636
commit
e2c63a13e2
3 changed files with 2 additions and 27 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue