summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testchmod.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-19 14:52:41 -0700
committerJeremy Allison <jra@samba.org>2011-10-20 02:29:52 +0200
commit019f643c693b4c6de3da78159d8c4507b924d93a (patch)
tree7c12b78713983167251b4fdf181bed538537c5b7 /examples/libsmbclient/testchmod.c
parentf64f91f96f71271186b3e171d24f0d0137620cba (diff)
downloadsamba-019f643c693b4c6de3da78159d8c4507b924d93a.tar.gz
Fix a boatload of warnings in the examples.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
Diffstat (limited to 'examples/libsmbclient/testchmod.c')
-rw-r--r--examples/libsmbclient/testchmod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/libsmbclient/testchmod.c b/examples/libsmbclient/testchmod.c
index 774daaed596..44731466c2d 100644
--- a/examples/libsmbclient/testchmod.c
+++ b/examples/libsmbclient/testchmod.c
@@ -8,11 +8,9 @@
int main(int argc, char * argv[])
{
- int ret;
int debug = 0;
int mode = 0666;
- char buffer[16384];
- char * pSmbPath = NULL;
+ const char * pSmbPath = NULL;
struct stat st;
if (argc == 1)