git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e673afa
)
examples/testsmbc.c - remove unused variables
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 20 Feb 2012 08:37:39 +0000
(09:37 +0100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 22 Feb 2012 22:57:24 +0000
(23:57 +0100)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
examples/libsmbclient/testsmbc.c
patch
|
blob
|
history
diff --git
a/examples/libsmbclient/testsmbc.c
b/examples/libsmbclient/testsmbc.c
index de42428c2b0096376683a704900d8c0131c1e682..9f6acacb39c91aa928468fc01fc3a24d0c1be5c5 100644
(file)
--- 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, d
h2, dh3, d
size, 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 handle
s: %u, %u, %u\n", dh1, dh2, dh3
);
+ fprintf(stdout, "Directory handle
: %u\n", dh1
);
/* Now, list those directories, but in funny ways ... */