aboutsummaryrefslogtreecommitdiff
path: root/includes/cpu_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/cpu_util.h')
-rw-r--r--includes/cpu_util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/cpu_util.h b/includes/cpu_util.h
index 36ca3c2d..da581a78 100644
--- a/includes/cpu_util.h
+++ b/includes/cpu_util.h
@@ -7,8 +7,7 @@
#define PROC_CPUINFO "/proc/cpuinfo"
#endif
-/* needs a local Processor *processor */
-#define STRIFNULL(f,cs) if (processor->f == NULL) processor->f = g_strdup(cs);
+#define STRIFNULL(f,cs) if (f == NULL) f = g_strdup(cs);
#define UNKIFNULL(f) STRIFNULL(f, _("(Unknown)") )
#define EMPIFNULL(f) STRIFNULL(f, "")