squash -Wunused-parameter warnings in remove_graph_clicked
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 19 Apr 2021 00:29:18 +0000 (17:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Apr 2021 18:58:20 +0000 (11:58 -0700)
cmd/smyrna/gui/callbacks.c

index 2ccc45d04be639063a44f36cdcfa12c92bf72750..3f41f5e9259754a046c30db28c54f599dec763af 100644 (file)
@@ -65,10 +65,12 @@ void save_as_graph_clicked(GtkWidget * widget, gpointer user_data)
 
 void remove_graph_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     g_print("remove graph button fired\n");
 }
 
-
 static void btn_clicked(GtkWidget * widget, gvk_layout layout)
 {
 }