summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-10 00:02:40 +0000
committerTim Potter <tpot@samba.org>2001-07-10 00:02:40 +0000
commit65e373ec07f50037aa687fd6dbe6404cc0173f17 (patch)
tree84f9b4bd44e76e86d2a4d83ed5879ba672de7ef4
parent0a33cb45c1a30143d3587b102b0cde31158d7788 (diff)
downloadsamba-65e373ec07f50037aa687fd6dbe6404cc0173f17.tar.gz
samba-65e373ec07f50037aa687fd6dbe6404cc0173f17.tar.bz2
samba-65e373ec07f50037aa687fd6dbe6404cc0173f17.zip
Removed unused local variables.
(This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
-rw-r--r--source3/printing/nt_printing.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index bd1ab085f7..a47d39355f 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -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);