diff options
author | Jeremy Allison <jra@samba.org> | 2011-10-19 14:52:41 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-10-20 02:29:52 +0200 |
commit | 019f643c693b4c6de3da78159d8c4507b924d93a (patch) | |
tree | 7c12b78713983167251b4fdf181bed538537c5b7 /examples/libsmbclient/testchmod.c | |
parent | f64f91f96f71271186b3e171d24f0d0137620cba (diff) | |
download | samba-019f643c693b4c6de3da78159d8c4507b924d93a.tar.gz samba-019f643c693b4c6de3da78159d8c4507b924d93a.tar.bz2 samba-019f643c693b4c6de3da78159d8c4507b924d93a.zip |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/libsmbclient/testchmod.c b/examples/libsmbclient/testchmod.c index 774daaed59..44731466c2 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) |