File lsvpd.no-return-in-nonvoid-function.patch of Package lsvpd

Index: lsvpd-1.7.4/src/internal/sys_interface/devicetreecollector.cpp
===================================================================
--- lsvpd-1.7.4.orig/src/internal/sys_interface/devicetreecollector.cpp
+++ lsvpd-1.7.4/src/internal/sys_interface/devicetreecollector.cpp
@@ -395,6 +395,8 @@ error:
 			return parseRtasVPDHeader(buf, fruName, recordStart);
 		else if (isPlatformOPAL())
 			return parseOpalVPDHeader(buf, fruName, recordStart);
+    else
+      return 0;
 	}
 
 	/**