summaryrefslogtreecommitdiff
path: root/source3/rpc_server
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/rpc_server
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/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index f7fa189af5..52e4ab0a72 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -4179,10 +4179,9 @@ static WERROR construct_printer_info6(TALLOC_CTX *mem_ctx,
struct spoolss_PrinterInfo6 *r,
int snum)
{
- int count;
print_status_struct status;
- count = print_queue_length(msg_ctx, snum, &status);
+ print_queue_length(msg_ctx, snum, &status);
r->status = nt_printq_status(status.status);