summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-05-03 11:25:32 +0200
committerZenWalker <[email protected]>2019-05-04 11:49:15 +0200
commit65cff87dca39dd84359c47619234a44f2e0467f8 (patch)
tree4b702d15756f322d343fd2e3b86077101abc1233
parentc34fc890df3b7765c4f299eacfb5c7e9d2567184 (diff)
downloadmate-system-monitor-65cff87dca39dd84359c47619234a44f2e0467f8.tar.bz2
mate-system-monitor-65cff87dca39dd84359c47619234a44f2e0467f8.tar.xz
sysinfo: Condition 'markup' is always false
-rw-r--r--src/sysinfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
index 5b4b80d..2d7324f 100644
--- a/src/sysinfo.cpp
+++ b/src/sysinfo.cpp
@@ -1003,15 +1003,11 @@ procman_create_sysinfo_view(void)
add_row(GTK_GRID(hardware_table), _("Memory:"), markup, 0);
g_free(markup);
- markup = NULL;
add_row(GTK_GRID(hardware_table), _("Processor:"),
data->processors.c_str(), 1);
add_row(GTK_GRID(hardware_table), _("Graphics:"),
data->graphics.c_str(), 2);
- if(markup)
- g_free(markup);
-
/* disk space section */
markup = g_strdup_printf("<b>%s</b>", _("System Status"));