[s3]pdbedit: remove unused variable.
authorMichael Adam <obnox@samba.org>
Thu, 23 Oct 2008 09:00:49 +0000 (11:00 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 27 Oct 2008 12:02:36 +0000 (13:02 +0100)
Note: The change of commit r21962 (or fe962d2e48, aka f540c18b2)
that was partly lost in the SVN->git glue commit e5a951325a6
(aka 5c6c8e1fe93f34) is not needed any more since the handler
for option "-s" calls set_dyn_CONFIGFILE().

Michael

source3/utils/pdbedit.c

index 6a7189e636a316df8d1fb2294e8229d623dbf463..fe99b6fc9e581593c4358cb1327c280d23fab882 100644 (file)
@@ -809,7 +809,6 @@ int main (int argc, char **argv)
        static char *pwd_time_format = NULL;
        static int pw_from_stdin = False;
        struct pdb_methods *bin, *bout, *bdef;
-       char *configfile = NULL;
        TALLOC_CTX *frame = talloc_stackframe();
        poptContext pc;
        struct poptOption long_options[] = {
@@ -869,9 +868,6 @@ int main (int argc, char **argv)
                case 'C':
                        account_policy_value_set = True;
                        break;
-               case 's':
-                       configfile = optarg;
-                       break;
                }
        }