- memset(szLine, 0, uBytes);\r
+ \r
+ int FillVal = 0; // suppress warning from gcc that I don't understand\r
+ memset(szLine, FillVal, (size_t) uBytes);\r
// As GetLine, but trim leading and trailing blanks; skip empty lines\r
bool TextFile::GetTrimLine(char szLine[], unsigned uBytes)\r
{\r
// As GetLine, but trim leading and trailing blanks; skip empty lines\r
bool TextFile::GetTrimLine(char szLine[], unsigned uBytes)\r
{\r
bool bEof = GetLine(szLine, uBytes);\r
if (bEof)\r
Quit("end-of-file in GetLineX");\r
bool bEof = GetLine(szLine, uBytes);\r
if (bEof)\r
Quit("end-of-file in GetLineX");\r