Fix the warning in 456586bb23

This commit is contained in:
Nobuyoshi Nakada 2019-05-15 18:18:44 +09:00
parent 3cf767ee35
commit 214e2f93aa
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ console_getch(int argc, VALUE *argv, VALUE io)
tv.tv_sec = optp->vtime / 10;
tv.tv_usec = (optp->vtime % 10) * 100000;
}
if (optp->vmin) {
if (optp->vmin != 1) {
rb_warning("min option ignored");
}
}