* BugFix: Clear some MSVC compiler warnings.

This commit is contained in:
Robert MacGregor 2021-10-07 00:27:39 -04:00
parent 026409ed7f
commit 5d26dba7da
23 changed files with 24 additions and 111 deletions

View file

@ -74,7 +74,7 @@ void StmtNode::addBreakLine(CodeStream& code)
//------------------------------------------------------------
StmtNode::StmtNode()
StmtNode::StmtNode() : dbgLineNumber(0)
{
next = NULL;
dbgFileName = CodeBlock::smCurrentParser->getCurrentFile();
@ -84,12 +84,12 @@ void StmtNode::setPackage(StringTableEntry)
{
}
void StmtNode::append(StmtNode* next)
void StmtNode::append(StmtNode* appended)
{
StmtNode* walk = this;
while (walk->next)
walk = walk->next;
walk->next = next;
walk->next = appended;
}