From: Volker Lendecke Date: Thu, 26 Mar 2020 13:21:15 +0000 (+0100) Subject: smbclient: Remove some unnecessary declarations X-Git-Tag: ldb-2.2.0~955 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3be1d04541eed8a0c814cd7d0090e85e68e4dd5;p=thirdparty%2Fsamba.git smbclient: Remove some unnecessary declarations "cmd_ptr" is a global variable in this file anyway Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/client/client.c b/source3/client/client.c index 8d329216d58..fff67d4e920 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5223,7 +5223,6 @@ static int set_remote_times(const char *filename, */ static int cmd_utimes(void) { - const extern char *cmd_ptr; char *buf; char *fname = NULL; struct timespec times[4] = {{0}}; @@ -5357,7 +5356,6 @@ int set_remote_attr(const char *filename, uint16_t new_attr, int mode) */ int cmd_setmode(void) { - const extern char *cmd_ptr; char *buf; char *fname = NULL; uint16_t attr[2] = {0};