mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Silence unused variable or parameter warnings.
--
This commit is contained in:
parent
64e8708339
commit
022342e284
6 changed files with 23 additions and 10 deletions
|
@ -1178,7 +1178,9 @@ main (int argc, char **argv )
|
|||
gnupg_fd_t fd_extra = GNUPG_INVALID_FD;
|
||||
gnupg_fd_t fd_browser = GNUPG_INVALID_FD;
|
||||
gnupg_fd_t fd_ssh = GNUPG_INVALID_FD;
|
||||
#ifndef HAVE_W32_SYSTEM
|
||||
pid_t pid;
|
||||
#endif
|
||||
|
||||
/* Remove the DISPLAY variable so that a pinentry does not
|
||||
default to a specific display. There is still a default
|
||||
|
@ -1237,7 +1239,6 @@ main (int argc, char **argv )
|
|||
#ifdef HAVE_W32_SYSTEM
|
||||
(void)csh_style;
|
||||
(void)nodetach;
|
||||
pid = getpid ();
|
||||
#else /*!HAVE_W32_SYSTEM*/
|
||||
pid = fork ();
|
||||
if (pid == (pid_t)-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue