summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-05 17:39:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:56 -0500
commita787e2d12484545633a540e6aa02e84f6fa456fa (patch)
tree87e62cee2665cfdb44764dfc3985e83f85ff2da8
parent5df58c38f3c29d87c5918d1611c17e016c6f7545 (diff)
downloadsamba-a787e2d12484545633a540e6aa02e84f6fa456fa.tar.gz
samba-a787e2d12484545633a540e6aa02e84f6fa456fa.tar.bz2
samba-a787e2d12484545633a540e6aa02e84f6fa456fa.zip
r13841: Fix an uninitialized variable warning.
Jerry, this just fixes the warning. This routine does not seem to cope well with !UNMARSHALLING. You might want to look... Volker (This used to be commit 2c0c40dfb5da9e901e099295f43032a745e71253)
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 576d75f88c..6f1ace8214 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -7495,7 +7495,7 @@ BOOL make_monitorui_buf( RPC_BUFFER *buf, const char *dllname )
static BOOL smb_io_port_data_1( const char *desc, RPC_BUFFER *buf, int depth, SPOOL_PORT_DATA_1 *p1 )
{
prs_struct *ps = &buf->prs;
- uint8 *fodder;
+ uint8 *fodder = NULL;
prs_debug(ps, depth, desc, "smb_io_port_data_1");
depth++;