w32: Silence some warnings about unused parameters.
* src/assuan-support.c (my_recvmsg, my_sendmsg, my_waitpid) (my_socketpair) [W32]: Mark unused parameters. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c447b64d59
commit
583aafdd68
@ -97,6 +97,9 @@ my_recvmsg (assuan_context_t ctx, assuan_fd_t fd, assuan_msghdr_t msg,
|
|||||||
{
|
{
|
||||||
(void)ctx;
|
(void)ctx;
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
(void)fd;
|
||||||
|
(void)msg;
|
||||||
|
(void)flags;
|
||||||
gpg_err_set_errno (ENOSYS);
|
gpg_err_set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
@ -112,6 +115,9 @@ my_sendmsg (assuan_context_t ctx, assuan_fd_t fd, const assuan_msghdr_t msg,
|
|||||||
{
|
{
|
||||||
(void)ctx;
|
(void)ctx;
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
(void)fd;
|
||||||
|
(void)msg;
|
||||||
|
(void)flags;
|
||||||
gpg_err_set_errno (ENOSYS);
|
gpg_err_set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
@ -210,6 +216,9 @@ my_waitpid (assuan_context_t ctx, pid_t pid,
|
|||||||
{
|
{
|
||||||
(void)ctx;
|
(void)ctx;
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
(void)nowait;
|
||||||
|
(void)status;
|
||||||
|
(void)options;
|
||||||
CloseHandle ((HANDLE) pid);
|
CloseHandle ((HANDLE) pid);
|
||||||
#else
|
#else
|
||||||
/* We can't just release the PID, a waitpid is mandatory. But
|
/* We can't just release the PID, a waitpid is mandatory. But
|
||||||
@ -229,6 +238,11 @@ my_socketpair (assuan_context_t ctx, int namespace, int style,
|
|||||||
int protocol, assuan_fd_t filedes[2])
|
int protocol, assuan_fd_t filedes[2])
|
||||||
{
|
{
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
(void)ctx;
|
||||||
|
(void)namespace;
|
||||||
|
(void)style;
|
||||||
|
(void)protocol;
|
||||||
|
(void)filedes;
|
||||||
gpg_err_set_errno (ENOSYS);
|
gpg_err_set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user