diff options
author | Tim Potter <tpot@samba.org> | 2005-08-01 19:58:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:19 -0500 |
commit | 473cfa4c35170ec51a9ae92986ff2891e5068d4b (patch) | |
tree | caf63b2bd6db2001d2ba13c40bcad6a50bd140df /source3/rpc_server | |
parent | 7aa9f973f25f2b09fa1d3eeeebc79a5acebf1e9a (diff) | |
download | samba-473cfa4c35170ec51a9ae92986ff2891e5068d4b.tar.gz samba-473cfa4c35170ec51a9ae92986ff2891e5068d4b.tar.bz2 samba-473cfa4c35170ec51a9ae92986ff2891e5068d4b.zip |
r8894: Fix a warning. Bugzilla #2939.
(This used to be commit 7648f6cef038dde7fdfbe157784f2fd5437218b0)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_svcctl_nt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index 3d34556340..580d000d12 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -350,7 +350,7 @@ WERROR _svcctl_query_status(pipes_struct *p, SVCCTL_Q_QUERY_STATUS *q_u, SVCCTL_ we have to call the right status routine... **********************************************************************/ -static WERROR enum_internal_services(TALLOC_CTX *tcx,ENUM_SERVICES_STATUS **svc_ptr, int existing_services, int *added) +static WERROR enum_internal_services(TALLOC_CTX *tcx,ENUM_SERVICES_STATUS **svc_ptr, int existing_services, uint32 *added) { int num_services = 2; int i = 0; @@ -443,8 +443,6 @@ WERROR _svcctl_enum_services_status(pipes_struct *p, SVCCTL_Q_ENUM_SERVICES_STAT /* _svcctl_read_LSB_data(NULL,NULL); */ /* init_svcctl_db(); */ - num_int_services = 0; - /* num_int_services = num_internal_services(); */ /* num_ext_services = num_external_services(); */ |