summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-20 04:39:27 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-20 04:39:27 (GMT)
commit56d33b3ea8cd2f8360ec891da10552d708522ab7 (patch)
tree672dcf2af7dcf2376b2ebc7afb54f30e8602eba7
parent75863554233a40f74d40138b7a88f07c010281a1 (diff)
Fixed missing `return`
Get rid of double writing.
-rw-r--r--compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 985debe..fa3505a 100644
--- a/compile.c
+++ b/compile.c
@@ -9758,6 +9758,7 @@ ibf_dump_write_small_value(struct ibf_dump *dump, VALUE x)
{
if (sizeof(VALUE) > 8 || CHAR_BIT != 8) {
ibf_dump_write(dump, &x, sizeof(VALUE));
+ return;
}
enum { max_byte_length = sizeof(VALUE) + 1 };