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/testacl2.c | |
parent | f64f91f96f71271186b3e171d24f0d0137620cba (diff) | |
download | samba-019f643c693b4c6de3da78159d8c4507b924d93a.tar.gz samba-019f643c693b4c6de3da78159d8c4507b924d93a.tar.xz 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/testacl2.c')
-rw-r--r-- | examples/libsmbclient/testacl2.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/examples/libsmbclient/testacl2.c b/examples/libsmbclient/testacl2.c index d2a97cf2d21..ef044f8a8dc 100644 --- a/examples/libsmbclient/testacl2.c +++ b/examples/libsmbclient/testacl2.c @@ -19,17 +19,11 @@ enum acl_mode int main(int argc, const char *argv[]) { - int i; - int opt; int flags; int debug = 0; - int numeric = 0; - int full_time_names = 0; - enum acl_mode mode = SMB_ACL_GET; static char *the_acl = NULL; int ret; - char *p; - char *debugstr; + const char *debugstr; char value[1024]; if (smbc_init(get_auth_data_fn, debug) != 0) |