diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-23 01:38:21 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-23 01:38:21 -0700 |
commit | 1e315b0013701737437c1562dc2b9f70dc9679ab (patch) | |
tree | 8397f6d82f8f19e3e891ebeb495fc04cf23a4d7c /source3/rpc_server | |
parent | 59fe99027d0ac972d0d74a24842d6423119c0d21 (diff) | |
download | samba-1e315b0013701737437c1562dc2b9f70dc9679ab.tar.gz samba-1e315b0013701737437c1562dc2b9f70dc9679ab.tar.bz2 samba-1e315b0013701737437c1562dc2b9f70dc9679ab.zip |
Fix coverity #910, uninitialized variable.
Jeremy.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 64f18537e0..962b729c26 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -8429,7 +8429,7 @@ WERROR _spoolss_SetForm(pipes_struct *p, { struct spoolss_AddFormInfo1 *form = r->in.info.info1; nt_forms_struct tmpForm; - int snum; + int snum = -1; WERROR status = WERR_OK; NT_PRINTER_INFO_LEVEL *printer = NULL; SE_PRIV se_printop = SE_PRINT_OPERATOR; |