Skip to content

Commit

Permalink
Fix PPropertyReader::Open no return value
Browse files Browse the repository at this point in the history
  • Loading branch information
AdventureT authored May 19, 2024
1 parent 4a0df24 commit a09991f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Toshi/Plugins/Source/PPropertyParser/PPropertyReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ TBOOL PPropertyReader::Open(const Toshi::TCString& a_rFileName, Toshi::TFile* a_
m_pFile = a_pFile;
m_pLexer = new Toshi::TFileLexerUTF8(m_pFile, 2);
m_pLexer->SetOutputComments(m_bLoadComments);
return TTRUE;
}

TBOOL PPropertyReader::Open(const Toshi::TCString& a_rFileName)
Expand All @@ -54,4 +55,4 @@ TBOOL PPropertyReader::Open(const Toshi::TCString& a_rFileName)
void PPropertyReader::Warning(const Toshi::TCString& a_sMsg)
{
TDPRINTF("%s : warning: %s\n", m_szFileName, a_sMsg);
}
}

0 comments on commit a09991f

Please sign in to comment.