svn commit: samba r9276 - branches/SAMBA_3_0/source/rpc_server
trunk/source/rpc_server
tpot at samba.org
tpot at samba.org
Fri Aug 12 21:39:02 GMT 2005
Author: tpot
Date: 2005-08-12 21:39:01 +0000 (Fri, 12 Aug 2005)
New Revision: 9276
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9276
Log:
Fix another unused variable warning. Bugzilla #2981.
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-12 21:35:21 UTC (rev 9275)
+++ branches/SAMBA_3_0/source/rpc_server/srv_svcctl_nt.c 2005-08-12 21:39:01 UTC (rev 9276)
@@ -756,7 +756,6 @@
{
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 @@
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;
Modified: trunk/source/rpc_server/srv_svcctl_nt.c
===================================================================
--- trunk/source/rpc_server/srv_svcctl_nt.c 2005-08-12 21:35:21 UTC (rev 9275)
+++ trunk/source/rpc_server/srv_svcctl_nt.c 2005-08-12 21:39:01 UTC (rev 9276)
@@ -756,7 +756,6 @@
{
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 @@
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;
More information about the samba-cvs
mailing list