mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nv50/ir: Initialize Graph::Node member tag.
Fix defect reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member tag is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10563>
This commit is contained in:
parent
edd06995d7
commit
2ba50c1a01
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ const char *Graph::Edge::typeStr() const
|
|||
Graph::Node::Node(void *priv) : data(priv),
|
||||
in(0), out(0), graph(0),
|
||||
visited(0),
|
||||
inCount(0), outCount(0)
|
||||
inCount(0), outCount(0),
|
||||
tag(0)
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue