discover: Properly handle return values
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 9 Nov 2015 03:45:58 +0000 (14:45 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Thu, 17 Dec 2015 03:51:46 +0000 (14:51 +1100)
commiteea8cf830616dbbd9024b7d704cf0ccf2dac4767
treea2eae11b0af3de7c71d74d7acac9952b485c6f3e
parent0dae90626e54e46372c9feddc2f9ac82f046547d
discover: Properly handle return values

Fixes three unchecked return values, and one missing
initialisation.
Fixes Coverity defects #30450, #30451, #30454, and #30483

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
discover/device-handler.c
discover/ipmi.c
discover/paths.c
discover/platform-powerpc.c