s3: Remove some unused vars
authorTim Prouty <tprouty@samba.org>
Wed, 11 Feb 2009 06:16:26 +0000 (22:16 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 11 Feb 2009 06:18:35 +0000 (22:18 -0800)
source3/torture/cmd_vfs.c

index f273cedb90c2fb005b587c786f4d37555384f590..17769b10b27bc4fd38f5a8061994d9a3678381d8 100644 (file)
@@ -141,8 +141,6 @@ static NTSTATUS cmd_opendir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc
 
 static NTSTATUS cmd_readdir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, const char **argv)
 {
-       const char *user;
-       const char *group;
        SMB_STRUCT_STAT st;
        SMB_STRUCT_DIRENT *dent = NULL;
 
@@ -178,9 +176,9 @@ static NTSTATUS cmd_readdir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc
                printf(" Inode: %10u", (unsigned int)st.st_ino);
                printf(" Links: %10u\n", (unsigned int)st.st_nlink);
                printf("  Access: %05o", (st.st_mode) & 007777);
-               printf(" Uid: %5lu/%.16s Gid: %5lu/%.16s\n",
-                      (unsigned long)st.st_uid, user,
-                      (unsigned long)st.st_gid, group);
+               printf(" Uid: %5lu Gid: %5lu\n",
+                      (unsigned long)st.st_uid,
+                      (unsigned long)st.st_gid);
                printf("  Access: %s", ctime(&(st.st_atime)));
                printf("  Modify: %s", ctime(&(st.st_mtime)));
                printf("  Change: %s", ctime(&(st.st_ctime)));