<!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 18:15:39 +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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc">a5a08a567e873b0bf8588d1790c4f8f7545b4bbc</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
proc.c:1883:34: warning: variable 'key' is uninitialized when used here
[-Wuninitialized]
grn_id id = *(grn_id *)key;
~~~~~~~~~~~~~~~~~~~~~~~^~~~
../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\
^~~~~
proc.c:1880:18: 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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#diff-0">lib/proc.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/proc.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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1876">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1877">1877</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1878">1878</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1879">1879</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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1880">1880</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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1881">1881</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1882">1882</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0L1883">1883</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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1876">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1877">1877</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1878">1878</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1879">1879</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/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1880">1880</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1881">1881</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1882">1882</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a5a08a567e873b0bf8588d1790c4f8f7545b4bbc#L0R1883">1883</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">@@ -1877,7 +1877,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">proc_delete(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> records = grn_table_select(ctx, table, cond, NULL, GRN_OP_OR);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (records) {</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"> GRN_TABLE_EACH(ctx, records, GRN_ID_NIL, GRN_ID_NIL,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> result_id, &key, NULL, NULL, {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_id id = *(grn_id *)key;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>