Commit cd90ebef authored by Vinson Lee's avatar Vinson Lee
Browse files

glsl: Initialize ast_function member variables.



Fixes "Uninitialized pointer field" defect reported by Coverity.
Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
parent fa5ed99d
......@@ -1115,7 +1115,8 @@ ast_function::print(void) const
ast_function::ast_function(void)
: is_definition(false), signature(NULL)
: return_type(NULL), identifier(NULL), is_definition(false),
signature(NULL)
{
/* empty */
}
......
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