mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1728 from kyab/fix_unused_error_mirb
Fix unused function warning when readline enabled (mirb)
This commit is contained in:
@@ -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*);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user