1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 15:00:27 +00:00

Fix gcc errors

This commit is contained in:
bakpakin 2018-01-12 17:38:06 -05:00
parent 6679fb299f
commit efb5f19d27
2 changed files with 2 additions and 2 deletions

View File

@ -832,6 +832,7 @@ Dst dst_asm_decode_instruction(uint32_t instr) {
dst_wrap_integer((int32_t)instr >> 24));
}
#undef oparg
return dst_wrap_nil();
}
Dst dst_disasm(DstFuncDef *def) {

View File

@ -856,7 +856,6 @@ static void dstc_deinit(DstCompiler *c) {
DstCompileResult dst_compile(DstCompileOptions opts) {
DstCompiler c;
DstFopts fopts;
DstSlot s;
dstc_init(&c, opts.env);
@ -871,7 +870,7 @@ DstCompileResult dst_compile(DstCompileOptions opts) {
fopts.x = opts.source;
/* Compile the value */
s = dstc_value(fopts);
dstc_value(fopts);
if (c.result.status == DST_COMPILE_OK) {
c.result.funcdef = dstc_pop_funcdef(&c);