[Groonga-commit] groonga/groonga [master] Fix style

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 11 16:02:19 JST 2012


Kouhei Sutou	2012-12-11 16:02:19 +0900 (Tue, 11 Dec 2012)

  New Revision: 18bbab62b61fe83b30d2dfbb79864d3fb9265dd5
  https://github.com/groonga/groonga/commit/18bbab62b61fe83b30d2dfbb79864d3fb9265dd5

  Log:
    Fix style
    
    Function body start '{' should be the head of the line.

  Modified files:
    lib/dat.cpp

  Modified: lib/dat.cpp (+2 -1)
===================================================================
--- lib/dat.cpp    2012-12-09 11:31:48 +0900 (552da69)
+++ lib/dat.cpp    2012-12-11 16:02:19 +0900 (e83e60c)
@@ -651,7 +651,8 @@ grn_dat_update(grn_ctx *ctx, grn_dat *dat,
 int
 grn_dat_scan(grn_ctx *ctx, grn_dat *dat, const char *str,
              unsigned int str_size, grn_dat_scan_hit *scan_hits,
-             unsigned int max_num_scan_hits, const char **str_rest) {
+             unsigned int max_num_scan_hits, const char **str_rest)
+{
   if (!grn_dat_open_trie_if_needed(ctx, dat) || !str ||
       !(dat->obj.header.flags & GRN_OBJ_KEY_VAR_SIZE) || !scan_hits) {
     return -1;
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index