mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Marked all unused args on non-W32 platforms.
This commit is contained in:
parent
e1f4154d75
commit
0a5f742466
84 changed files with 864 additions and 224 deletions
|
@ -243,10 +243,10 @@ read_32 (FILE *fp)
|
|||
{
|
||||
int c1, c2, c3, c4;
|
||||
|
||||
c1 = getc (stdin);
|
||||
c2 = getc (stdin);
|
||||
c3 = getc (stdin);
|
||||
c4 = getc (stdin);
|
||||
c1 = getc (fp);
|
||||
c2 = getc (fp);
|
||||
c3 = getc (fp);
|
||||
c4 = getc (fp);
|
||||
if (c1 == EOF || c2 == EOF || c3 == EOF || c4 == EOF)
|
||||
{
|
||||
fprintf (stderr, PGM ": premature EOF while parsing request\n");
|
||||
|
@ -518,6 +518,9 @@ handle_open (unsigned char *argbuf, size_t arglen)
|
|||
static void
|
||||
handle_close (unsigned char *argbuf, size_t arglen)
|
||||
{
|
||||
(void)argbuf;
|
||||
(void)arglen;
|
||||
|
||||
if (!driver_is_open)
|
||||
{
|
||||
fprintf (stderr, PGM ": PC/SC has not yet been opened\n");
|
||||
|
@ -546,6 +549,9 @@ handle_status (unsigned char *argbuf, size_t arglen)
|
|||
int status;
|
||||
unsigned char buf[20];
|
||||
|
||||
(void)argbuf;
|
||||
(void)arglen;
|
||||
|
||||
if (!driver_is_open)
|
||||
{
|
||||
fprintf (stderr, PGM ": PC/SC has not yet been opened\n");
|
||||
|
@ -614,6 +620,9 @@ handle_reset (unsigned char *argbuf, size_t arglen)
|
|||
unsigned long nreader, atrlen;
|
||||
unsigned long card_state, card_protocol;
|
||||
|
||||
(void)argbuf;
|
||||
(void)arglen;
|
||||
|
||||
if (!driver_is_open)
|
||||
{
|
||||
fprintf (stderr, PGM ": PC/SC has not yet been opened\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue