From 5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 May 2010 08:22:10 -0600 Subject: llvmpipe: added a new assertion as a hint to Coverity Looks like coverity found a false positive for an out of bounds array write. --- src/gallium/drivers/llvmpipe/lp_scene.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/llvmpipe') diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index 7714748daf..22d619fdbc 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -274,6 +274,7 @@ lp_scene_bin_command( struct lp_scene *scene, /* out of memory - simply ignore this command (for now) */ return; } + assert(tail->count == 0); } { -- cgit v1.2.3