svn commit: samba r17066 - in branches/SOC/mkhl/ldb-map/modules: .

mkhl at samba.org mkhl at samba.org
Sat Jul 15 18:26:12 GMT 2006


Author: mkhl
Date: 2006-07-15 18:26:12 +0000 (Sat, 15 Jul 2006)
New Revision: 17066

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

Log:
Add missing `break's to switches...

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:20:13 UTC (rev 17065)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:26:12 UTC (rev 17066)
@@ -338,16 +338,19 @@
 		case MAP_KEEP:
 			if (ldb_attr_cmp(data->attribute_maps[i] .local_name, name) == 0)
 				return &data->attribute_maps[i];
+			break;
 
 		case MAP_RENAME:
 		case MAP_CONVERT:
 			if (ldb_attr_cmp(data->attribute_maps[i] .u.rename.remote_name, name) == 0)
 				return &data->attribute_maps[i];
+			break;
 
 		case MAP_GENERATE:
 			for (j = 0; data->attribute_maps[i].u.generate.remote_names[j]; j++)
 				if (ldb_attr_cmp(data->attribute_maps[i].u.generate.remote_names[j], name) == 0)
 					return &data->attribute_maps[i];
+			break;
 
 		default:
 			break;
@@ -1204,12 +1207,15 @@
 	switch (tree->operation) {
 	case LDB_OP_EQUALITY:
 		val = tree->u.equality.value;
+		break;
 	case LDB_OP_LESS:
 	case LDB_OP_GREATER:
 	case LDB_OP_APPROX:
 		val = tree->u.comparison.value;
+		break;
 	case LDB_OP_EXTENDED:
 		val = tree->u.extended.value;
+		break;
 	default:
 		return val;
 	}



More information about the samba-cvs mailing list