don't report that the function WinMain is unused
This commit is contained in:
parent
2c8a418c7e
commit
39c9a2a4da
|
@ -159,7 +159,7 @@ void CheckUnusedFunctions::check()
|
|||
const FunctionUsage &func = it->second;
|
||||
if (func.usedOtherFile || func.filename.empty())
|
||||
continue;
|
||||
if (it->first == "main" || it->first == "if")
|
||||
if (it->first == "main" || it->first == "WinMain" || it->first == "if")
|
||||
continue;
|
||||
if (! func.usedSameFile)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue