svn commit: samba r17421 - in branches/SOC/mkhl/ldb-map/modules: .
mkhl at samba.org
mkhl at samba.org
Sat Aug 5 12:46:42 GMT 2006
Author: mkhl
Date: 2006-08-05 12:46:42 +0000 (Sat, 05 Aug 2006)
New Revision: 17421
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17421
Log:
Comment loops with noops.
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-08-05 11:38:50 UTC (rev 17420)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c 2006-08-05 12:46:42 UTC (rev 17421)
@@ -3053,9 +3053,9 @@
last = 0;
/* Count specified attribute maps */
- for (i = 0; attrs[i].local_name; i++);
+ for (i = 0; attrs[i].local_name; i++) /* noop */ ;
/* Count built-in attribute maps */
- for (j = 0; builtin_attribute_maps[j].local_name; j++);
+ for (j = 0; builtin_attribute_maps[j].local_name; j++) /* noop */ ;
/* Store list of attribute maps */
data->attribute_maps = talloc_array(data, struct ldb_map_attribute, i+j+1);
More information about the samba-cvs
mailing list