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

r8833: Fix some uninitialized variables.

Volker
(This used to be commit 503a58b6be1972bea0804fab82aee1d814f6d522)
This commit is contained in:
Volker Lendecke 2005-07-28 15:01:29 +00:00 committed by Gerald (Jerry) Carter
parent 8b2b177a8e
commit 6ccc69c532
2 changed files with 3 additions and 3 deletions

View File

@ -1467,7 +1467,7 @@ WERROR cli_spoolss_getprinterdataex(struct cli_state *cli, TALLOC_CTX *mem_ctx,
prs_struct qbuf, rbuf;
SPOOL_Q_GETPRINTERDATAEX in;
SPOOL_R_GETPRINTERDATAEX out;
uint32 offered;
uint32 offered = 0;
ZERO_STRUCT(in);
ZERO_STRUCT(out);
@ -1753,7 +1753,7 @@ WERROR cli_spoolss_enumprinterkey(struct cli_state *cli, TALLOC_CTX *mem_ctx,
prs_struct qbuf, rbuf;
SPOOL_Q_ENUMPRINTERKEY in;
SPOOL_R_ENUMPRINTERKEY out;
uint32 offered;
uint32 offered = 0;
ZERO_STRUCT(in);
ZERO_STRUCT(out);

View File

@ -5104,7 +5104,7 @@ static NTSTATUS vampire_trusted_domain(struct cli_state *cli,
{
NTSTATUS nt_status;
LSA_TRUSTED_DOMAIN_INFO *info;
char *cleartextpwd;
char *cleartextpwd = NULL;
DATA_BLOB data;
smb_ucs2_t *uni_dom_name;