summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-11 22:34:41 +0100
committerGünther Deschner <gd@samba.org>2009-02-11 22:36:33 +0100
commit75faf7765b30975e417e373f131c164d426db26c (patch)
treeeba5a6186658c904b57f28c8ac7c77cfa4c47deb /source3
parent876e926c0ceda388a9db0a90a6022e98731003fc (diff)
downloadsamba-75faf7765b30975e417e373f131c164d426db26c.tar.gz
samba-75faf7765b30975e417e373f131c164d426db26c.tar.bz2
samba-75faf7765b30975e417e373f131c164d426db26c.zip
s3-spoolss: Fix uninitialised variable warning.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index dccb25f9c2..204078d5c3 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -7381,6 +7381,8 @@ WERROR _spoolss_GetForm(pipes_struct *p,
return WERR_BADFID;
}
+ ZERO_STRUCT(form_1);
+
switch (level) {
case 1:
if (foundBuiltin) {