<!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">2015-04-13 15:33:43 +0900 (Mon, 13 Apr 2015)</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53">95006579575e318ad6cf83ce7fc2f49546ca1d53</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">Suppress "set but not used" warning</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#diff-0">ext/groonga/rb-grn-object.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: ext/groonga/rb-grn-object.c (+4 -6)</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L537">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L538">538</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L539">539</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L540">540</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L541">541</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L542">542</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L544">544</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L546">546</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L547">547</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L548">548</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L549">549</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L550">550</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L551">551</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L552">552</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L553">553</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0L554">554</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R537">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R538">538</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R539">539</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R540">540</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R541">541</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R542">542</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R543">543</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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R544">544</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R545">545</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R546">546</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R547">547</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R548">548</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R549">549</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R550">550</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/95006579575e318ad6cf83ce7fc2f49546ca1d53#L0R552">552</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">@@ -538,17 +538,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_named_object_set_name (RbGrnNamedObject *rb_grn_named_object,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_named_object->name = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (name_size > 0) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- RbGrnObject *rb_grn_object;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_named_object->name = ALLOC_N(char, name_size + 1);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> memcpy(rb_grn_named_object->name, name, name_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_named_object->name[name_size] = '\0';</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rb_grn_object = RB_GRN_OBJECT(rb_grn_named_object);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> debug("set-name: %p:%p:%p %s(%#x): <%.*s>\n",</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rb_grn_object->context,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rb_grn_object->object,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ RB_GRN_OBJECT(rb_grn_named_object)->context,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ RB_GRN_OBJECT(rb_grn_named_object)->object,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_named_object,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rb_grn_inspect_type(rb_grn_object->object->header.type),</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rb_grn_object->object->header.type,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ rb_grn_inspect_type(RB_GRN_OBJECT(rb_grn_named_object)->header.type),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ RB_GRN_OBJECT(rb_grn_named_object)->object->header.type,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> name_size, name);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_named_object->name_size = name_size;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>