From 18df376e0d79a6e167aa188c89c45cdc8046c67f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 3 Aug 2017 23:02:24 +0200 Subject: call: Remove unused arguments from sevenplname() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- call/call.c | 7 ++----- 1 file 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; } -- cgit v1.2.3