]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Removed unused local variables.
authorTim Potter <tpot@samba.org>
Tue, 10 Jul 2001 00:02:40 +0000 (00:02 +0000)
committerTim Potter <tpot@samba.org>
Tue, 10 Jul 2001 00:02:40 +0000 (00:02 +0000)
source/printing/nt_printing.c

index bd1ab085f7ff6ce6a449b414c8ca647faeca6177..a47d39355fe8e3749b5186b36a7b1271dcaf3597 100644 (file)
@@ -181,10 +181,6 @@ static nt_forms_struct default_forms[] = {
 static void upgrade_to_version_2(void)
 {
        TDB_DATA kbuf, newkey, dbuf;
-       nt_forms_struct form;
-       int ret;
-       int i;
-       int n = 0;
 
        DEBUG(0,("upgrade_to_version_2:upgrading to version 2\n"));
 
@@ -227,10 +223,6 @@ BOOL nt_printing_init(void)
        static pid_t local_pid;
        char *vstring = "INFO/version";
 
-       fstring *list=NULL;
-       int count;
-       int i;
-
        if (tdb_drivers && tdb_printers && tdb_forms && local_pid == sys_getpid()) return True;
 
        tdb_drivers = tdb_open_log(lock_path("ntdrivers.tdb"), 0, 0, O_RDWR|O_CREAT, 0600);