[Groonga-commit] groonga/groonga at 0e8ffb6 [master] Add explicit parentheses for readability

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Jan 21 11:42:52 JST 2019


Kouhei Sutou	2019-01-21 11:42:52 +0900 (Mon, 21 Jan 2019)

  Revision: 0e8ffb6edf499fc1bb62a289d11adde1a1c081d7
  https://github.com/groonga/groonga/commit/0e8ffb6edf499fc1bb62a289d11adde1a1c081d7

  Message:
    Add explicit parentheses for readability

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+1 -1)
===================================================================
--- lib/ii.c    2019-01-21 11:20:47 +0900 (f5539de86)
+++ lib/ii.c    2019-01-21 11:42:52 +0900 (84e08e5f4)
@@ -2821,7 +2821,7 @@ merge_dump_chunk_raw(grn_ctx *ctx,
   uint8_t *chunk_current = chunk_start;
   int decoded_size;
 
-  if (chunk_end - chunk_current == 0) {
+  if ((chunk_end - chunk_current) == 0) {
     GRN_LOG(ctx, data->log_level,
             "%s[%.*s][%d/%d] <%.*s>(%u): %u/%u: no data",
             data->tag,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190121/fd26e57f/attachment.html>


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