Fix unused function warning when readline enabled (mirb)
Merge pull request #1728 from kyab/fix_unused_error_mirb

Fix unused function warning when readline enabled (mirb)