diff options
author | Ondrej Čerman | 2019-10-12 20:53:25 +0200 |
---|---|---|
committer | Ondrej Čerman | 2019-10-12 20:53:25 +0200 |
commit | e409f26106b4a60a64a122e1cb5884360c2cca34 (patch) | |
tree | 5f751b4e1c5a5a47a04eec7b11979dfd375fda6d /src/gui.c | |
parent | 9795d0c5b8f6cbc0bace0d6b819cbad705f71f10 (diff) |
Removed unused variables + added static keywords
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -23,7 +23,6 @@ static void init_sensors() { GtkListStore *store; SensorSource *source; const SensorInit *data; - gboolean added; guint i = 0; store = GTK_LIST_STORE(model); @@ -69,7 +68,6 @@ static void set_list_column_value(float num, const gchar *printf_format, GtkTree static gboolean update_data (gpointer data) { GtkTreeIter iter; - guint number; GSList *node; SensorSource *source; const SensorInit *sensorData; @@ -106,7 +104,6 @@ static gboolean update_data (gpointer data) { static void add_columns (GtkTreeView *treeview) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; - GtkTreeModel *model = gtk_tree_view_get_model (treeview); // NAME renderer = gtk_cell_renderer_text_new (); @@ -160,7 +157,6 @@ static void about_btn_clicked(GtkButton *button, gpointer user_data) { static void clear_btn_clicked(GtkButton *button, gpointer user_data) { SensorSource *source; - const SensorInit *sensorData; for (source = sensor_sources; source->drv; source++) { if (!source->enabled) |