summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2012-02-20 09:37:39 +0100
committerAndrew Tridgell <tridge@samba.org>2012-02-22 23:57:24 +0100
commit25227129943420558476799a71a0e27647cf8d86 (patch)
treea5a53b3489eb8530d5b950f26a275900def3e5fb /examples/libsmbclient
parente673afada1248535b992ceb28b8fcef106a85e05 (diff)
downloadsamba-25227129943420558476799a71a0e27647cf8d86.tar.gz
samba-25227129943420558476799a71a0e27647cf8d86.tar.bz2
samba-25227129943420558476799a71a0e27647cf8d86.zip
examples/testsmbc.c - remove unused variables
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r--examples/libsmbclient/testsmbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c
index de42428c2b..9f6acacb39 100644
--- a/examples/libsmbclient/testsmbc.c
+++ b/examples/libsmbclient/testsmbc.c
@@ -47,7 +47,7 @@ void print_list_fn(struct print_job_info *pji)
int main(int argc, char *argv[])
{
- int err, fd, dh1, dh2, dh3, dsize, dirc;
+ int err, fd, dh1, dsize, dirc;
const char *file = "smb://samba/public/testfile.txt";
const char *file2 = "smb://samba/public/testfile2.txt";
char buff[256];
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
}
- fprintf(stdout, "Directory handles: %u, %u, %u\n", dh1, dh2, dh3);
+ fprintf(stdout, "Directory handle: %u\n", dh1);
/* Now, list those directories, but in funny ways ... */