summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_spoolss.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-07-28 15:01:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:18 -0500
commit6ccc69c5323c054c51449449d2f6ebaa4fd074b4 (patch)
tree0092e806e8bf04b24f777e43b506a4f09f699585 /source3/rpc_client/cli_spoolss.c
parent8b2b177a8e07e3a0cb00fbd7fdbafc8aeba5b204 (diff)
downloadsamba-6ccc69c5323c054c51449449d2f6ebaa4fd074b4.tar.gz
samba-6ccc69c5323c054c51449449d2f6ebaa4fd074b4.tar.bz2
samba-6ccc69c5323c054c51449449d2f6ebaa4fd074b4.zip
r8833: Fix some uninitialized variables.
Volker (This used to be commit 503a58b6be1972bea0804fab82aee1d814f6d522)
Diffstat (limited to 'source3/rpc_client/cli_spoolss.c')
-rw-r--r--source3/rpc_client/cli_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 7ebae0868f..f2df763b4f 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -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);