<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-08-10 17:54:25 +0900 (Fri, 10 Aug 2012)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9">59c3ec43de8ecb96561ea7d588a6473c5a24f0b9</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">clang: suppress a warning

db.c:3260:50: warning: variable 'key_size' is uninitialized when used here
      [-Wuninitialized]
      if ((id1 = grn_table_get(ctx, table1, key, key_size))) {
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../include/groonga.h:1041:82: note: expanded from macro 'GRN_TABLE_EACH'
  ...(grn_array *)(table), (head), (tail), (id), (value), block);\
                                                          ^
../include/groonga.h:2734:7: note: expanded from macro 'GRN_ARRAY_EACH'
      block\
      ^~~~~
db.c:3255:20: note: initialize the variable 'key_size' to silence this warning
  uint32_t key_size;
                   ^
                    = 0</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#diff-0">lib/db.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/db.c (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3251">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3252">3252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3253">3253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3254">3254</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3255">3255</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3256">3256</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3257">3257</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0L3258">3258</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3251">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3252">3252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3253">3253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3254">3254</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3255">3255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3256">3256</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3257">3257</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/59c3ec43de8ecb96561ea7d588a6473c5a24f0b9#L0R3258">3258</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3252,7 +3252,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_difference(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                      grn_obj *res1, grn_obj *res2)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   void *key;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  uint32_t key_size;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  uint32_t key_size = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (table1 != res1 || table2 != res2) { return GRN_INVALID_ARGUMENT; }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (grn_table_size(ctx, table1) &gt; grn_table_size(ctx, table2)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_TABLE_EACH(ctx, table2, 0, 0, id, &amp;key, &amp;key_size, NULL, {</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>