summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-09-28 12:59:35 +0200
committerIago Toral Quiroga <[email protected]>2015-09-29 10:53:08 +0200
commit12d510ab742baad88d624585938c723ffedbcae7 (patch)
tree5ec3b35141b85702111d3bc11a2c30d4be77ba03 /src/mesa/main/shaderapi.h
parent1dc2db7a4dfb0e88a51a27c2234b6a01dead80bf (diff)
glsl: Fix forward NULL dereference coverity warning
The comment says that it should be impossible for decl_type to be NULL here, so don't try to handle the case where it is, simply add an assert. >>> CID 1324977: Null pointer dereferences (FORWARD_NULL) >>> Comparing "decl_type" to null implies that "decl_type" might be null. No piglit regressions observed. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.h')
0 files changed, 0 insertions, 0 deletions