- Avoid uninitialised warning from valgrind

modified:
  storage/connect/tabdos.cpp
This commit is contained in:
Olivier Bertrand 2014-08-29 14:22:25 +02:00
parent 86a3343191
commit 16de35114e

View File

@ -842,6 +842,8 @@ bool TDBDOS::SaveBlockValues(PGLOBAL g)
return true;
} // endif opfile
memset(n, 0, sizeof(n)); // To avoid valgrind warning
if (Ftype == RECFM_VAR || defp->Compressed == 2) {
/*******************************************************************/
/* Write block starting positions into the opt file. */