Make valgrind happy by zeroing out partially initialized struct.
This commit is contained in:
parent
146563ca45
commit
7dc83577c5
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ START_TEST(linearHashNTAVariableSizetest)
|
|||
|
||||
int xid = Tbegin();
|
||||
recordid val;
|
||||
memset(&val,0,sizeof(val));
|
||||
recordid hashHeader = ThashCreate(xid, VARIABLE_LENGTH, VARIABLE_LENGTH);
|
||||
recordid * val2;
|
||||
recordid ** bval2 = &val2;
|
||||
|
|
Loading…
Reference in a new issue