[Groonga-commit] groonga/groonga [master] Break a long for() line

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Mon Feb 18 23:55:34 JST 2013


Kouhei Sutou	2013-02-18 23:55:34 +0900 (Mon, 18 Feb 2013)

  New Revision: 78f4c3eca509b80a3bc264d44bbda71bb5fe580a
  https://github.com/groonga/groonga/commit/78f4c3eca509b80a3bc264d44bbda71bb5fe580a

  Log:
    Break a long for() line

  Modified files:
    lib/geo.c

  Modified: lib/geo.c (+3 -1)
===================================================================
--- lib/geo.c    2013-02-18 23:54:37 +0900 (54e016d)
+++ lib/geo.c    2013-02-18 23:55:34 +0900 (e313a23)
@@ -632,7 +632,9 @@ grn_geo_table_sort_by_distance(grn_ctx *ctx,
       indexed_entries = grn_hash_create(ctx, NULL, sizeof(grn_id), 0,
                                         GRN_OBJ_TABLE_HASH_KEY|GRN_HASH_TINY);
     }
-    for (ep = entries + offset; n_entries < limit && ep < entries + n; n_entries++, ep++) {
+    for (ep = entries + offset;
+         n_entries < limit && ep < entries + n;
+         n_entries++, ep++) {
       if (!grn_array_add(ctx, (grn_array *)result, (void **)&v)) {
         if (indexed_entries) {
           grn_hash_close(ctx, indexed_entries);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index