c390c40573dd4adb72bef6697c842b60670494ca — Drew DeVault 2 months ago ac983c4
frontend/readline: fix stupid GCC warnings
1 files changed, 1 insertions(+), 1 deletions(-)

M frontend/readline.c
M frontend/readline.c => frontend/readline.c +1 -1
@@ 23,7 23,7 @@ static void sigint_handler(int n) {
 	 * signal safe, but under these circumstances it's very likely that the
 	 * interrupted function will not be affected. */
 	char newline = '\n';
-	write(STDOUT_FILENO, &newline, 1);
+	(void)write(STDOUT_FILENO, &newline, 1);
 	rl_on_new_line();
 	rl_replace_line("", 0);
 	rl_redisplay();