summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-04-16 02:35:35 +0000
committerTim Potter <tpot@samba.org>2001-04-16 02:35:35 +0000
commitaf08cd21eb714abc019656bc8cee86fd7a3f20d6 (patch)
treee0e4c9e87c3e95435ffc82652c2adf1179563dae /source3/rpc_server
parent71ae6a09cd2c4792f95459220645c424f7659913 (diff)
downloadsamba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.tar.gz
samba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.tar.bz2
samba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.zip
Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
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 917885eafb..57f95873fc 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5305,7 +5305,7 @@ uint32 _spoolss_getform(pipes_struct *p, SPOOL_Q_GETFORM *q_u, SPOOL_R_GETFORM *
FORM_1 form_1;
fstring form_name;
int buffer_size=0;
- int numofforms=0, i;
+ int numofforms=0, i=0;
/* that's an [in out] buffer */
spoolss_move_buffer(q_u->buffer, &r_u->buffer);