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 501c8a5d48..ba51c617df 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -4706,7 +4706,7 @@ static bool api_WPrintJobEnumerate(struct smbd_server_connection *sconn,
struct rpc_pipe_client *cli = NULL;
struct policy_handle handle;
struct spoolss_DevmodeContainer devmode_ctr;
- uint32_t count;
+ uint32_t count = 0;
union spoolss_JobInfo *info;
if (!str1 || !str2 || !p) {