ソースを参照

glsl: Initialize ast_function member variables.

Fixes "Uninitialized pointer field" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
tags/mesa-10.1-devel
Vinson Lee 12年前
コミット
cd90ebefd4
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      src/glsl/glsl_parser_extras.cpp

+ 2
- 1
src/glsl/glsl_parser_extras.cpp ファイルの表示

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

読み込み中…
キャンセル
保存