glsl/nir: init non-static class member.
glsl_to_nir.cpp:276: uninit_member: Non-static class member "sig" is not initialized in this constructor nor in any functions that it calls. Reported by coverity Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
ebdddb36a0
commit
b6e2a9eca7
|
@ -270,6 +270,7 @@ nir_visitor::nir_visitor(gl_context *ctx, nir_shader *shader)
|
|||
this->result = NULL;
|
||||
this->impl = NULL;
|
||||
this->deref = NULL;
|
||||
this->sig = NULL;
|
||||
memset(&this->b, 0, sizeof(this->b));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue