File zabbix-2.0.3_nonvoid_function.patch of Package zabbix22

Index: src/libs/zbxself/selfmon.c
===================================================================
--- src/libs/zbxself/selfmon.c.orig	2013-12-09 10:15:13.000000000 +0100
+++ src/libs/zbxself/selfmon.c	2014-01-14 16:34:03.318955996 +0100
@@ -140,6 +140,9 @@ int	get_process_type_forks(unsigned char
 	}
 
 	assert(0);
+	// this return really does not make sense but
+	// rpmlint complains and fails builds...
+	return "";
 }
 
 /******************************************************************************
@@ -207,6 +210,9 @@ const char	*get_process_type_string(unsi
 	}
 
 	assert(0);
+	// this return really does not make sense but
+	// rpmlint complains and fails builds...
+	return "";
 }
 
 /******************************************************************************
openSUSE Build Service is sponsored by