From 019f643c693b4c6de3da78159d8c4507b924d93a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 19 Oct 2011 14:52:41 -0700 Subject: Fix a boatload of warnings in the examples. Autobuild-User: Jeremy Allison Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104 --- examples/libsmbclient/testchmod.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/libsmbclient/testchmod.c') 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) -- cgit