summaryrefslogtreecommitdiff
path: root/source3/printing/tests
diff options
context:
space:
mode:
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)