mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common/
2010-04-20 Marcus Brinkmann <marcus@g10code.de> * logging.c (do_log_ignore_arg): New helper function. (log_string): Use it to remove ugly volatile hack that causes gcc warning. (log_flush): Likewise. * sysutils.c (gnupg_unsetenv) [!HAVE_W32CE_SYSTEM]: Return something. (gnupg_setenv) [!HAVE_W32CE_SYSTEM]: Likewise. * pka.c (get_pka_info): Solve strict aliasing rule violation. * t-exechelp.c (test_close_all_fds): Use dummy variables to silence gcc warning. kbx/ 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include ../common/sysutils.h even then to silence gcc warning about missing declaration of gnupg_remove. tools/ 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * gpgconf-comp.c (option_check_validity): Use dummy variables to silence gcc warning.
This commit is contained in:
parent
6616ba9a1e
commit
0e960d940a
10 changed files with 77 additions and 35 deletions
|
@ -604,7 +604,7 @@ gnupg_setenv (const char *name, const char *value, int overwrite)
|
|||
(void)overwrite;
|
||||
return 0;
|
||||
#else
|
||||
setenv (name, value, overwrite);
|
||||
return setenv (name, value, overwrite);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -616,9 +616,9 @@ gnupg_unsetenv (const char *name)
|
|||
return 0;
|
||||
#else
|
||||
# ifdef HAVE_UNSETENV
|
||||
unsetenv (name);
|
||||
return unsetenv (name);
|
||||
# else
|
||||
putenv (name);
|
||||
return putenv (name);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue