Commit a4f5d539 authored by Kurt Hindenburg's avatar Kurt Hindenburg

initialize variable

parent ba6e7588
......@@ -239,7 +239,7 @@ int HistoryScrollFile::getLineLen(int lineno)
bool HistoryScrollFile::isWrappedLine(int lineno)
{
if (lineno >= 0 && lineno <= getLines()) {
unsigned char flag;
unsigned char flag = 0;
_lineflags.get((unsigned char*)&flag, sizeof(unsigned char), (lineno)*sizeof(unsigned char));
return flag;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment