summaryrefslogtreecommitdiff
path: root/source3/printing/tests
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-31 13:24:09 +0200
committerGünther Deschner <gd@samba.org>2011-06-01 00:29:30 +0200
commitf103e0c39f9f93b765a9cdb93a7600a1f6f06315 (patch)
tree8038484244be70fe325bcdce9b6ed0cfc4240a1a /source3/printing/tests
parentb9a727c5f17c96138698a06e8c894387531e82b2 (diff)
downloadsamba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.gz
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.bz2
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.zip
s3: fix more -Wunused-but-set-variable build warnings.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/printing/tests')
-rw-r--r--source3/printing/tests/vlp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/tests/vlp.c b/source3/printing/tests/vlp.c
index b22050632e..927224cb2e 100644
--- a/source3/printing/tests/vlp.c
+++ b/source3/printing/tests/vlp.c
@@ -111,10 +111,9 @@ static int next_jobnum(char *printer)
static void set_printer_status(char *printer, int status)
{
fstring keystr;
- int result;
slprintf(keystr, sizeof(keystr) - 1, "STATUS/%s", printer);
- result = tdb_store_int32(tdb, keystr, status);
+ tdb_store_int32(tdb, keystr, status);
}
static int get_printer_status(char *printer)