]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbclient: Remove some unnecessary declarations
authorVolker Lendecke <vl@samba.org>
Thu, 26 Mar 2020 13:21:15 +0000 (14:21 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 8 Apr 2020 14:46:39 +0000 (14:46 +0000)
"cmd_ptr" is a global variable in this file anyway

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/client/client.c

index 8d329216d58c17947ef1728d7fb98789116b4fb5..fff67d4e920ad125c8fdbb143d615b73c51cb9ae 100644 (file)
@@ -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};