<!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">2017-04-06 11:38:27 +0900 (Thu, 06 Apr 2017)</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/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab">fcb5ff5e5711904a810dedfb2b62bccf1dd74eab</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</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; width: auto">ii: suppress warnings
ii.c: In function 'buffer_split.isra.60':
ii.c:397:59: warning: 'dls1' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (lseg >= ii->header->bmax) { ii->header->bmax = lseg + 1; }
~~~~~^~~
ii.c:3745:30: note: 'dls1' was declared here
uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0 = 0, dcn1 = 0;
^~~~
ii.c:397:59: warning: 'dls0' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (lseg >= ii->header->bmax) { ii->header->bmax = lseg + 1; }
~~~~~^~~
ii.c:3745:24: note: 'dls0' was declared here
uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0 = 0, dcn1 = 0;
^~~~
In file included from ../include/groonga.h:22:0,
from grn.h:761,
from ii.c:17:
../include/groonga/groonga.h:1108:5: warning: 'dps1' may be used uninitialized in this function [-Wmaybe-uninitialized]
grn_logger_put(ctx, (level), __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__); \
^~~~~~~~~~~~~~
ii.c:3745:18: note: 'dps1' was declared here
uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0 = 0, dcn1 = 0;
^~~~
In file included from ../include/groonga.h:22:0,
from grn.h:761,
from ii.c:17:
../include/groonga/groonga.h:1108:5: warning: 'dps0' may be used uninitialized in this function [-Wmaybe-uninitialized]
grn_logger_put(ctx, (level), __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__); \
^~~~~~~~~~~~~~
ii.c:3745:12: note: 'dps0' was declared here
uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0 = 0, dcn1 = 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/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758a">lib/ii.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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/ii.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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3741">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3742">3742</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3743">3743</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3744">3744</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3745">3745</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/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3746">3746</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3747">3747</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aL3748">3748</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3741">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3742">3742</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3743">3743</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3744">3744</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3745">3745</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3746">3746</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3747">3747</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fcb5ff5e5711904a810dedfb2b62bccf1dd74eab#diff-cf87acdbcbd22709a858df5c01e6758aR3748">3748</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3742,7 +3742,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_split(grn_ctx *ctx, grn_ii *ii, uint32_t seg, grn_hash *h)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_io_win sw, dw0, dw1;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> buffer *sb, *db0 = NULL, *db1 = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint8_t *sc = NULL, *dc0, *dc1;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0 = 0, dcn1 = 0;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ uint32_t dps0<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> = 0</span>, dps1<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> = 0</span>, dls0<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> = 0</span>, dls1<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> = 0</span>, sps, scn, dcn0 = 0, dcn1 = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (ii->header->binfo[seg] == NOT_ASSIGNED) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DEFINE_NAME(ii);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> CRIT(GRN_FILE_CORRUPT,</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>