svn commit: samba r20800 - in branches/SAMBA_4_0/source: libcli/security librpc/ndr

metze at samba.org metze at samba.org
Mon Jan 15 10:39:18 GMT 2007


Author: metze
Date: 2007-01-15 10:39:17 +0000 (Mon, 15 Jan 2007)
New Revision: 20800

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20800

Log:
fix compiler warnings

metze
Modified:
   branches/SAMBA_4_0/source/libcli/security/sddl.c
   branches/SAMBA_4_0/source/librpc/ndr/ndr_sec_helper.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/security/sddl.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/security/sddl.c	2007-01-15 10:10:15 UTC (rev 20799)
+++ branches/SAMBA_4_0/source/libcli/security/sddl.c	2007-01-15 10:39:17 UTC (rev 20800)
@@ -319,6 +319,8 @@
 		case SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT:
 			acl->revision = SECURITY_ACL_REVISION_ADS;
 			break;
+		default:
+			break;
 		}
 		talloc_free(astr);
 		sddl += len+2;

Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_sec_helper.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_sec_helper.c	2007-01-15 10:10:15 UTC (rev 20799)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_sec_helper.c	2007-01-15 10:39:17 UTC (rev 20800)
@@ -73,6 +73,8 @@
 			ret += 16; /* GUID ace->object.object.inherited_typeinherited_type */
 		}
 		break;
+	default:
+		break;
 	}
 
 	return ret;



More information about the samba-cvs mailing list