<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-10 17:55:03 +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/97cc4d9ff65230c193f878f15c9495640ed5bf96">97cc4d9ff65230c193f878f15c9495640ed5bf96</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">clang: suppress a warning
db.c:3260:45: warning: variable 'key' 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:3254:12: note: initialize the variable 'key' to silence this warning
void *key;
^
= NULL</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/97cc4d9ff65230c193f878f15c9495640ed5bf96#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, "Liberation Mono", 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, "Liberation Mono", 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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3250">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3251">3251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3253">3253</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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3254">3254</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3255">3255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0L3257">3257</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0R3250">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0R3251">3251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0R3253">3253</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0R3254">3254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/97cc4d9ff65230c193f878f15c9495640ed5bf96#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/97cc4d9ff65230c193f878f15c9495640ed5bf96#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/97cc4d9ff65230c193f878f15c9495640ed5bf96#L0R3257">3257</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -3251,7 +3251,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_rc</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_table_difference(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,</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-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- void *key;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ void *key = NULL;</span>
<span class="diff-not-changed" style="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) > grn_table_size(ctx, table2)) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>