Fix -Werror=unused-result

pull/39/head v2.2
Dmitry Razumov 1 year ago
parent e08a5e7af7
commit 2c8672a3e9
Signed by: asmeron
GPG Key ID: 50BC1DB583B79706

@ -577,7 +577,7 @@ void on_module_remove_clicked(GtkWidget *self,dictionary *dict){
char *target = yon_package_string_set(tab->module);
char *command = remove_command(target);
char *command_unload = unload_command(target);
system(yon_debug_output("%s\n",command_unload));
if (system(yon_debug_output("%s\n",command_unload))){};
g_signal_connect(G_OBJECT(widgets->InstallTerminal),"child-exited",G_CALLBACK(on_module_remove_done),tab);
yon_command_execute_async(command,widgets);
tab->module_installed=0;

Loading…
Cancel
Save