Merge pull request #1728 from kyab/fix_unused_error_mirb

Fix unused function warning when readline enabled (mirb)
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-02-23 21:00:52 +09:00
+2
View File
@@ -218,6 +218,7 @@ print_hint(void)
printf("mirb - Embeddable Interactive Ruby Shell\n\n");
}
#ifndef ENABLE_READLINE
/* Print the command line prompt of the REPL */
static void
print_cmdline(int code_block_open)
@@ -229,6 +230,7 @@ print_cmdline(int code_block_open)
printf("> ");
}
}
#endif
void mrb_codedump_all(mrb_state*, struct RProc*);