Skip to content

Commit

Permalink
don't report that the function WinMain is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Marjamäki committed Oct 24, 2009
1 parent 2c8a418 commit 39c9a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkunusedfunctions.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 39c9a2a

Please sign in to comment.