summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-11-13 10:33:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-11-13 10:33:10 +0900
commitca704e54383cc7180edbe84b081de83e868aa7c6 (patch)
treefc6194dd8139bd08e8086b39135be2499527dbcd /src/dump.c
parent7078fcd9e405b6082542cc0d984c8468f2aa0af3 (diff)
downloadmruby-ca704e54383cc7180edbe84b081de83e868aa7c6.tar.gz
mruby-ca704e54383cc7180edbe84b081de83e868aa7c6.zip
pacify some warnings on OpenBSD
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dump.c b/src/dump.c
index 2c9e85302..4bb6b3d0b 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -97,7 +97,6 @@ get_pool_block_size(mrb_state *mrb, mrb_irep *irep)
default:
break;
}
-
mrb_gc_arena_restore(mrb, ai);
}
@@ -590,7 +589,7 @@ write_section_debug(mrb_state *mrb, mrb_irep *irep, uint8_t *cur)
const uint8_t *bin = cur;
struct rite_section_debug_header *header;
mrb_sym *filenames;
- size_t filenames_len, i;
+ size_t filenames_len = 0, i;
uint8_t *filenames_len_out;
uint32_t dlen;