From 8fe902b842d2c5c4a06d88ee97ffa89f35b01016 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 30 Dec 2012 15:08:31 +0100 Subject: fix return value of non-void function this breaks strict compilers --- hardinfo/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo') 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) { -- cgit v1.2.3