Make valgrind happy by zeroing out partially initialized struct.

This commit is contained in:
Sears Russell 2008-03-01 19:35:16 +00:00
parent 146563ca45
commit 7dc83577c5

View file

@ -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;