r21517: Fix build warnings.
authorGünther Deschner <gd@samba.org>
Fri, 23 Feb 2007 11:53:43 +0000 (11:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:09 +0000 (12:18 -0500)
Guenther
(This used to be commit 82f1da8117434c52c383b33a905b3765f0240d4a)

source3/param/loadparm.c

index 0be313b35a6a468309cf15f3e6a4177ab1dd2017..8849d2dea7c1a2063dfc6be028cbb722b9e48f62 100644 (file)
@@ -1825,10 +1825,9 @@ FN_GLOBAL_LIST(lp_netbios_aliases, &Globals.szNetbiosAliases)
  * lp_passdb_backend() should be replace by the this macro again after
  * some releases.
  * */
-const char *lp_passdb_backend()
+const char *lp_passdb_backend(void)
 {
        char *delim, *quote;
-       int pos, i;
 
        delim = strchr( Globals.szPassdbBackend, ' ');
        /* no space at all */