diff options
author | Matias De lellis <[email protected]> | 2014-12-14 13:24:01 -0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-15 15:01:56 +0100 |
commit | cdd64eb85839577b63a5dc8840cdb339d5b78abd (patch) | |
tree | 62b3aeb2470979d621ea09de5d4353867a6557f0 | |
parent | 8aa938cba8881bff0c56091f0e0cbc436dc3e59b (diff) | |
download | mate-system-monitor-cdd64eb85839577b63a5dc8840cdb339d5b78abd.tar.bz2 mate-system-monitor-cdd64eb85839577b63a5dc8840cdb339d5b78abd.tar.xz |
Fixes removed set but unused variables warining.
-rw-r--r-- | src/sysinfo.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp index e60058e..00b7724 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -562,11 +562,7 @@ procman_create_sysinfo_view(void) GtkWidget *distro_table; GtkWidget *hardware_table; - GtkWidget *memory_label; - GtkWidget *processor_label; - GtkWidget *disk_space_table; - GtkWidget *disk_space_label; GtkWidget *header; @@ -659,8 +655,7 @@ procman_create_sysinfo_view(void) g_free(markup); markup = procman::format_size(data->memory_bytes); - memory_label = add_row(GTK_TABLE(hardware_table), _("Memory:"), - markup, 0); + add_row(GTK_TABLE(hardware_table), _("Memory:"), markup, 0); g_free(markup); for (guint i = 0; i < data->processors.size(); ++i) { @@ -674,8 +669,7 @@ procman_create_sysinfo_view(void) t = _("Processor:"); } - processor_label = add_row(GTK_TABLE(hardware_table), t, - data->processors[i].c_str(), 1 + i); + add_row(GTK_TABLE(hardware_table), t, data->processors[i].c_str(), 1 + i); if(markup) g_free(markup); @@ -688,9 +682,7 @@ procman_create_sysinfo_view(void) g_free(markup); markup = procman::format_size(data->free_space_bytes); - disk_space_label = add_row(GTK_TABLE(disk_space_table), - _("Available disk space:"), markup, - 0); + add_row(GTK_TABLE(disk_space_table), _("Available disk space:"), markup, 0); g_free(markup); return hbox; |