summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-12 21:39:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:30 -0500
commit021892a6ceecd8a1311a6d582688ae3ec4bfdd22 (patch)
treef2a35f51fbddbe96c9d042bdecbc0c50c71a09ec /source3
parent36115e7ebcb344000149cf3ec9a458529bbb64d2 (diff)
downloadsamba-021892a6ceecd8a1311a6d582688ae3ec4bfdd22.tar.gz
samba-021892a6ceecd8a1311a6d582688ae3ec4bfdd22.tar.bz2
samba-021892a6ceecd8a1311a6d582688ae3ec4bfdd22.zip
r9276: Fix another unused variable warning. Bugzilla #2981.
(This used to be commit abe2ab72e6b1d53dbe04d02882e4fee9cb34dec7)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_svcctl_nt.c5
1 files changed, 1 insertions, 4 deletions
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;