<!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:53:28 +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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396">2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396</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:3220:52: warning: variable 'key_size' is uninitialized when used here
[-Wuninitialized]
if (grn_table_add_v_inline(ctx, table1, key, key_size, &value1, NULL)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../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:3173: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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3169">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3170">3170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3171">3171</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3172">3172</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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3173">3173</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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3174">3174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3175">3175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0L3176">3176</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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3169">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3170">3170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3171">3171</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3172">3172</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/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3173">3173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3174">3174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3175">3175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2873a4c48b5c5dc79f3c1d4cd0e6a6aa5e546396#L0R3176">3176</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">@@ -3170,7 +3170,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_setoperation(grn_ctx *ctx, grn_obj *table1, grn_obj *table2, grn_obj *</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc rc = GRN_SUCCESS;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void *key = NULL, *value1 = NULL, *value2 = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint32_t value_size = 0;</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 != res) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (table2 == res) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *t = table1;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>