summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-02-20 13:39:27 +0900
committerNobuyoshi Nakada <[email protected]>2020-02-20 13:39:27 +0900
commit56d33b3ea8cd2f8360ec891da10552d708522ab7 (patch)
tree672dcf2af7dcf2376b2ebc7afb54f30e8602eba7 /compile.c
parent75863554233a40f74d40138b7a88f07c010281a1 (diff)
Fixed missing `return`
Get rid of double writing.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 985debe559..fa3505a03d 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 };