From 797f1e8a8f561d1431f43a314d11e812822e9b48 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 25 Jun 2022 16:17:43 +0200 Subject: [PATCH] [dgi] suppress warning --- src/protocol/file/dgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol/file/dgi.c b/src/protocol/file/dgi.c index 397f0b52..196d9b34 100644 --- a/src/protocol/file/dgi.c +++ b/src/protocol/file/dgi.c @@ -433,7 +433,7 @@ dgi_protocol_handler(struct connection *conn) } prepare_command2(command, filename, inpext, outext, &command_str, &tempfilename, &outputfilename); - system(command_str.source); + (void)!system(command_str.source); done_string(&command_str); if (del) { @@ -563,7 +563,7 @@ execute_dgi(struct connection *conn) fclose(f); } } - system(command.source); + (void)!system(command.source); done_string(&command); mem_free(script);