mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
glsl: Initialize per_vertex_accumulator::fields.
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
136a12ac98
commit
37cd9ac6df
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ private:
|
|||
|
||||
|
||||
per_vertex_accumulator::per_vertex_accumulator()
|
||||
: num_fields(0)
|
||||
: fields(),
|
||||
num_fields(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue