mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
fa5ed99d8e
commit
cd90ebefd4
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue