Author: tpot Date: 2005-08-01 19:58:16 +0000 (Mon, 01 Aug 2005) New Revision: 8894
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8894 Log: Fix a warning. Bugzilla #2939. Modified: branches/SAMBA_3_0/source/rpc_server/srv_svcctl_nt.c trunk/source/rpc_server/srv_svcctl_nt.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_server/srv_svcctl_nt.c =================================================================== --- branches/SAMBA_3_0/source/rpc_server/srv_svcctl_nt.c 2005-08-01 19:48:16 UTC (rev 8893) +++ branches/SAMBA_3_0/source/rpc_server/srv_svcctl_nt.c 2005-08-01 19:58:16 UTC (rev 8894) @@ -350,7 +350,7 @@ 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 @@ /* _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(); */ Modified: trunk/source/rpc_server/srv_svcctl_nt.c =================================================================== --- trunk/source/rpc_server/srv_svcctl_nt.c 2005-08-01 19:48:16 UTC (rev 8893) +++ trunk/source/rpc_server/srv_svcctl_nt.c 2005-08-01 19:58:16 UTC (rev 8894) @@ -350,7 +350,7 @@ 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 @@ /* _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(); */