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

s3-spoolss: fix uninitialized variable build warning.

Andreas, please check.

Guenther
This commit is contained in:
Günther Deschner 2010-08-03 14:51:27 +02:00
parent c530aa33cd
commit 743a2dedf4

View File

@ -447,7 +447,7 @@ static bool set_printer_hnd_name(TALLOC_CTX *mem_ctx,
int n_services=lp_numservices();
char *aprinter;
const char *printername;
const char *servername;
const char *servername = NULL;
fstring sname;
bool found = false;
struct spoolss_PrinterInfo2 *info2 = NULL;