summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-17 10:21:29 -0800
committerTim Prouty <tprouty@samba.org>2008-11-17 10:21:29 -0800
commit0b1015d73edd437fdc85dd765e59cb5ae232afac (patch)
tree9b8a07a85cadf7cc7252d75d2bc73cdbb1393bb0 /source3/rpc_server
parent0cba859f12177aaf3ef2d96663f0a51f61c24d56 (diff)
downloadsamba-0b1015d73edd437fdc85dd765e59cb5ae232afac.tar.gz
samba-0b1015d73edd437fdc85dd765e59cb5ae232afac.tar.bz2
samba-0b1015d73edd437fdc85dd765e59cb5ae232afac.zip
Fix build warning introduced by making SERVICE_CONTROL an enum
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_svcctl_nt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c
index 4beab6488b..0bed13e522 100644
--- a/source3/rpc_server/srv_svcctl_nt.c
+++ b/source3/rpc_server/srv_svcctl_nt.c
@@ -517,11 +517,9 @@ WERROR _svcctl_ControlService(pipes_struct *p,
return info->ops->service_status( info->name,
r->out.service_status );
+ default:
+ return WERR_ACCESS_DENIED;
}
-
- /* default control action */
-
- return WERR_ACCESS_DENIED;
}
/********************************************************************