1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

s3-lanman: Make sure that job_info is not undefined.

Found by clang-analyzer.
This commit is contained in:
Andreas Schneider 2010-06-28 10:49:55 +02:00
parent 459a1d58b1
commit 06a1766315

View File

@ -774,7 +774,7 @@ static bool api_DosPrintQGetInfo(struct smbd_server_connection *sconn,
struct policy_handle handle;
struct spoolss_DevmodeContainer devmode_ctr;
union spoolss_DriverInfo driver_info;
union spoolss_JobInfo *job_info;
union spoolss_JobInfo *job_info = NULL;
union spoolss_PrinterInfo printer_info;
if (!str1 || !str2 || !p) {