[dia] [warningectomy] ignoring return value of ‘system’



commit 8926ce3abc1cb745aa4a14badd6e524fc41fa0a8
Author: Hans Breuer <hans breuer org>
Date:   Sat May 4 15:28:56 2013 +0200

    [warningectomy] ignoring return value of ‘system’
    
    remove leftover system() call, it was superseded by gtk_show_uri()

 app/commands.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/commands.c b/app/commands.c
index 4d3d166..811aa71 100644
--- a/app/commands.c
+++ b/app/commands.c
@@ -978,7 +978,6 @@ help_manual_callback (GtkAction *action)
 #else
   command = g_strdup_printf("file://%s", helpindex);
   gtk_show_uri(screen, command, gtk_get_current_event_time (), NULL);
-  system(command);
   g_free(command);
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]