Skip to content

Commit

Permalink
examples/testsmbc.c - remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Tridgell <[email protected]>
  • Loading branch information
mwallnoefer authored and Andrew Tridgell committed Feb 22, 2012
1 parent e673afa commit 2522712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/libsmbclient/testsmbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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 ... */

Expand Down

0 comments on commit 2522712

Please sign in to comment.