client: remove a write only variable
authorGregor Beck <gbeck@sernet.de>
Fri, 11 Oct 2013 09:05:06 +0000 (11:05 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 30 Oct 2013 22:23:51 +0000 (15:23 -0700)
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c

index c3a557e..6e1c870 100644 (file)
@@ -1695,7 +1695,6 @@ static int do_allinfo(const char *name)
        struct timespec b_time, a_time, m_time, c_time;
        off_t size;
        uint16_t mode;
-       SMB_INO_T ino;
        NTTIME tmp;
        uint16_t fnum;
        unsigned int num_streams;
@@ -1723,7 +1722,7 @@ static int do_allinfo(const char *name)
        d_printf("altname: %s\n", altname);
 
        status = cli_qpathinfo2(cli, name, &b_time, &a_time, &m_time, &c_time,
-                               &size, &mode, &ino);
+                               &size, &mode, NULL);
        if (!NT_STATUS_IS_OK(status)) {
                d_printf("%s getting pathinfo for %s\n", nt_errstr(status),
                         name);