diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-23 21:00:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-23 21:00:52 +0900 |
| commit | 37348c296e18a051097974952931b7e147cfeaea (patch) | |
| tree | 7d78b1c4a6f35403b4cdec1f480dae31015cda83 | |
| parent | 46ee88357490874d22c4767ddf8c1982b02b61a0 (diff) | |
| parent | 1cf619d3b499b00385e7166e00840ef0114353ae (diff) | |
| download | mruby-37348c296e18a051097974952931b7e147cfeaea.tar.gz mruby-37348c296e18a051097974952931b7e147cfeaea.zip | |
Merge pull request #1728 from kyab/fix_unused_error_mirb
Fix unused function warning when readline enabled (mirb)
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index a9d6850a5..b204c8e2d 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -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*); |
