[IIO/test/coverity] Resolve coverity issues
authorParichay Kapoor <pk.kapoor@samsung.com>
Thu, 21 Nov 2019 01:21:26 +0000 (10:21 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 26 Nov 2019 00:41:49 +0000 (09:41 +0900)
commit76aaf810769190b418bb2dccfe3b8356aa3e285d
tree033497ce91770fd7fa26161d66ffca91ff7b1d87
parentd0b42eea9ccfc353eacdd2fa30e1da4cca9df1f9
[IIO/test/coverity] Resolve coverity issues

Added more checks coherent with in #1859 and #1863 to another location

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
tests/nnstreamer_source/unittest_src_iio.cpp