1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00

[dgi] suppress warning

This commit is contained in:
Witold Filipczyk 2022-06-25 16:17:43 +02:00
parent 5c550ff2a0
commit 797f1e8a8f

View File

@ -433,7 +433,7 @@ dgi_protocol_handler(struct connection *conn)
} }
prepare_command2(command, filename, inpext, outext, &command_str, &tempfilename, &outputfilename); prepare_command2(command, filename, inpext, outext, &command_str, &tempfilename, &outputfilename);
system(command_str.source); (void)!system(command_str.source);
done_string(&command_str); done_string(&command_str);
if (del) { if (del) {
@ -563,7 +563,7 @@ execute_dgi(struct connection *conn)
fclose(f); fclose(f);
} }
} }
system(command.source); (void)!system(command.source);
done_string(&command); done_string(&command);
mem_free(script); mem_free(script);