From 021892a6ceecd8a1311a6d582688ae3ec4bfdd22 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 12 Aug 2005 21:39:01 +0000 Subject: r9276: Fix another unused variable warning. Bugzilla #2981. (This used to be commit abe2ab72e6b1d53dbe04d02882e4fee9cb34dec7) --- source3/rpc_server/srv_svcctl_nt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index 6cdc71bf03..2e44dc3692 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -756,7 +756,6 @@ WERROR _svcctl_query_service_config2( pipes_struct *p, SVCCTL_Q_QUERY_SERVICE_CO { POLICY_HND *handle; SERVICE_INFO *service_info; - uint32 level; SERVICE_INFO *info = find_service_info_by_hnd( p, &q_u->handle ); /* perform access checks */ @@ -789,10 +788,8 @@ WERROR _svcctl_query_service_config2( pipes_struct *p, SVCCTL_Q_QUERY_SERVICE_CO in the *r_query_config2 marshalling routine... */ - level = q_u->info_level; - #if 0 - if (SERVICE_CONFIG_DESCRIPTION == level) { + if (SERVICE_CONFIG_DESCRIPTION == q_u->info_level) { if (service_info && service_info->shortdescription) { /* length of the string, plus the terminator... */ string_buffer_size = strlen(service_info->shortdescription)+1; -- cgit