Fix Coverity ID 503
authorVolker Lendecke <vl@samba.org>
Sun, 23 Mar 2008 18:38:02 +0000 (19:38 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 23 Mar 2008 18:44:55 +0000 (19:44 +0100)
(This used to be commit 5c43c38271bae7d96d0cfbdaba7bff838a684b40)

source3/rpc_parse/parse_spoolss.c

index 3bf8ef27c1e8cce57a872b67789878cf94abadf6..d762cb2ca7958fdbec2e853735812211d475ae0e 100644 (file)
@@ -4785,7 +4785,7 @@ bool spoolss_io_q_addprinterex(const char *desc, SPOOL_Q_ADDPRINTEREX *q_u, prs_
                if (!sec_io_desc_buf(desc, &q_u->secdesc_ctr, ps, depth))
                        return False;
        } else {
-               uint32 dummy;
+               uint32 dummy = 0;
 
                /* Parse a NULL security descriptor.  This should really
                        happen inside the sec_io_desc_buf() function. */