summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-08-03 23:02:24 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-08-03 23:02:24 +0200
commit18df376e0d79a6e167aa188c89c45cdc8046c67f (patch)
treedac00259ff46009838d99d2b5f6e63f02069c088
parent47a89b1c839f0bfe3ad95d9d2d1fcdf99d6b944d (diff)
call: Remove unused arguments from sevenplname()
This fixes the following warnings: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -Wunused-parameter -flto -MT call.o -MD -MP -MF .deps/call.Tpo -c -o call.o call.c [...] call.c: In function ‘sevenplname’: call.c:1910:52: warning: unused parameter ‘buf’ [-Wunused-parameter] int *logfile, char parms[], int parmsbytes, char buf[], ^~~ call.c:1911:7: warning: unused parameter ‘bytes’ [-Wunused-parameter] int bytes) ^~~~~ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--call/call.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/call/call.c b/call/call.c
index e0fc054..903b0e1 100644
--- a/call/call.c
+++ b/call/call.c
@@ -1907,8 +1907,7 @@ static int searche_key_words(char buf[], int *bytes, char *parms, int *parmsbyte
}
static int sevenplname(int mode, WINDOW ** swin, wint * wintab, int *f,
- int *logfile, char parms[], int parmsbytes, char buf[],
- int bytes)
+ int *logfile, char parms[], int parmsbytes)
{
int cnt;
int part;
@@ -2288,9 +2287,7 @@ static int cmd_call(char *call[], int mode, int encoding)
&downloadfile,
&logfile,
parms,
- parmsbytes,
- buf,
- bytes);
+ parmsbytes);
if (sevenplcnt != -1)
sevenplus = TRUE;
}