glsl: Initialize ast_function member variables.
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user