git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abac431
)
Fix coverity #910, uninitialized variable.
author
Jeremy Allison
<jra@samba.org>
Thu, 23 Apr 2009 08:38:21 +0000
(
01:38
-0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 23 Apr 2009 08:39:30 +0000
(
01:39
-0700)
Jeremy.
source3/rpc_server/srv_spoolss_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_spoolss_nt.c
b/source3/rpc_server/srv_spoolss_nt.c
index 014c1cfb6cfa5b1c8aa168d03902eb8a7a76f9d7..a5a7368f5251ff29d2334896746f44809f4696ec 100644
(file)
--- a/
source3/rpc_server/srv_spoolss_nt.c
+++ b/
source3/rpc_server/srv_spoolss_nt.c
@@
-8243,7
+8243,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;