aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
authorhasufell <julian.ospald@googlemail.com>2012-12-30 15:08:31 +0100
committerhasufell <julian.ospald@googlemail.com>2012-12-30 15:08:31 +0100
commit8fe902b842d2c5c4a06d88ee97ffa89f35b01016 (patch)
treee9a57a59c50f691441b1dc593a65813be81e5a6d /hardinfo
parent226097e9cbafb913636e5d40536009bf53f2a778 (diff)
fix return value of non-void function
this breaks strict compilers
Diffstat (limited to 'hardinfo')
-rw-r--r--hardinfo/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index 1640be8b..3c083b34 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -1368,7 +1368,7 @@ moreinfo_lookup_with_prefix(gchar *prefix, gchar *key)
{
if (G_UNLIKELY(!_moreinfo)) {
DEBUG("moreinfo not initialized");
- return;
+ return 0;
}
if (prefix) {