summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 92239273c15..9194113e768 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -3260,7 +3260,7 @@ static bool api_WPrintQueueCtrl(struct smbd_server_connection *sconn,
struct spoolss_SetPrinterInfoCtr info_ctr;
struct spoolss_DevmodeContainer devmode_ctr;
struct sec_desc_buf secdesc_ctr;
- enum spoolss_PrinterControl command;
+ enum spoolss_PrinterControl command = SPOOLSS_PRINTER_CONTROL_UNPAUSE;
if (!str1 || !str2 || !QueueName) {
return False;