projects
/
dosfstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a086e63
)
Fixed warn_unused_result error/warning
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Mon, 13 Oct 2025 03:30:54 +0000
(
04:30
+0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Mon, 13 Oct 2025 03:30:54 +0000
(
04:30
+0100)
mcopy.c
patch
|
blob
|
history
diff --git
a/mcopy.c
b/mcopy.c
index 748006744ca0959a001909969d2aa154b0d37eed..e7b4b3b5850624688992ec059ef31e8ea19978c5 100644
(file)
--- a/
mcopy.c
+++ b/
mcopy.c
@@
-564,7
+564,7
@@
static char getch (void) {
key++; /* F5 code is too low by 1 */
}
key++; /* F5 code is too low by 1 */
}
-
getchar ();
/* take in following ~ (126), but discard code */
+
(void) getchar ();
/* take in following ~ (126), but discard code */
} else if (key == 50) { /* insert or F9-F12 */
} else if (key == 50) { /* insert or F9-F12 */
@@
-580,12
+580,12
@@
static char getch (void) {
key++; /* F11 and F12 are too low by 1 */
}
key++; /* F11 and F12 are too low by 1 */
}
-
getchar ();
/* take in following ~ (126), but discard code */
+
(void) getchar ();
/* take in following ~ (126), but discard code */
}
} else if (key == 51 || key == 53 || key == 54) { /* delete, page up/down */
}
} else if (key == 51 || key == 53 || key == 54) { /* delete, page up/down */
-
getchar ();
/* take in following ~ (126), but discard code */
+
(void) getchar ();
/* take in following ~ (126), but discard code */
}
} else if (key == 79) { /* F1-F4 */
}
} else if (key == 79) { /* F1-F4 */