mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
r600g/sb: Initialize ra_constraint::cost.
Fixes "Uninitialized scalar field" reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
be8d787873
commit
b0c3c955ae
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ typedef std::vector<ra_chunk*> chunk_vector;
|
|||
|
||||
class ra_constraint {
|
||||
public:
|
||||
ra_constraint(constraint_kind kind) : kind(kind) {}
|
||||
ra_constraint(constraint_kind kind) : kind(kind), cost(0) {}
|
||||
|
||||
constraint_kind kind;
|
||||
vvec values;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue