mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
Fix CID 1134504
This commit is contained in:
parent
b55f80cd50
commit
8259710a24
@ -218,7 +218,7 @@ R_API int r_cons_yesno(int def, const char *fmt, ...) {
|
||||
va_end (ap);
|
||||
fflush (stderr);
|
||||
r_cons_set_raw (1);
|
||||
read (0, &key, 1);
|
||||
(void)read (0, &key, 1);
|
||||
write (2, "\n", 1);
|
||||
if (key == 'Y')
|
||||
key = 'y';
|
||||
|
Loading…
Reference in New Issue
Block a user