genlist - fix coverity complaint about null check
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 18 Apr 2017 07:58:04 +0000 (16:58 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 18 Apr 2017 08:30:50 +0000 (17:30 +0900)
commit706c7f9e3b1080aedd62de6fdf2c708f56eded8d
tree3bd7da88059940cbe968e6caf670b801acfddc00
parent330368c10c5b154781f9cf3897b7c688d131b32a
genlist - fix coverity complaint about null check

we checked for null and then just used a null return later inthe loop.
this fixes that. this should fix CID 1360955
src/lib/elementary/elm_genlist.c