coverity issue CID: 44
authorKent Mein <mein@cs.umn.edu>
Sat, 13 Jun 2009 15:54:39 +0000 (15:54 +0000)
committerKent Mein <mein@cs.umn.edu>
Sat, 13 Jun 2009 15:54:39 +0000 (15:54 +0000)
commit76cd7046bba916737de142a76b06adea9f52660c
tree176aa327ab5c78266cee12d6688799b24cd8d24a
parentc4ad2ed2536407cf2a9b3bc8f0b77bc88cccf71d
coverity issue CID: 44
Checker: FORWARD_NULL (help)
File: base/src/source/blender/render/intern/source/texture.c
Function: do_lamp_tex
Description: Variable "co" tracked as NULL was dereferenced.

co was set to NULL at the beginning of the function and it could
possibly slip through all the logic above so lets test it before
we use it blindly.

Kent
source/blender/render/intern/source/texture.c