Commit 3b3a3af9 authored by Vinson Lee's avatar Vinson Lee Committed by Marge Bot

glsl: Initialize ast_node member field location.path in constructor.

Fix defect reported by Coverity Scan.

Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member field location.path is not
initialized in this constructor nor in any functions that it calls.
Signed-off-by: Vinson Lee's avatarVinson Lee <>
Reviewed-by: default avatarMarek Olšák <>
Part-of: <!6905>
parent 81cd4c8f
Pipeline #209271 waiting for manual action with stages
......@@ -1188,6 +1188,7 @@ ast_node::print(void) const
this->location.path = NULL;
this->location.source = 0;
this->location.first_line = 0;
this->location.first_column = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment