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:
Vinson Lee 2013-02-10 01:38:53 +01:00
parent fa5ed99d8e
commit cd90ebefd4

View file

@ -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 */
}