Replace hardcoded functions names by __func__ macro

* while we're here, fix some possible bugs
* and fix -Wformat=2

s/__FUNCTION__/__func__/g

awawawa
This commit is contained in:
Alibek Omarov
2024-06-19 06:46:08 +03:00
parent 3503c721ac
commit d56e53a347
104 changed files with 586 additions and 584 deletions

View File

@@ -367,7 +367,7 @@ public:
if( i == nullptr )
{
Con_DPrintf( "FindClose: Can't find search state by handle %d\n", handle );
Con_DPrintf( "%s: Can't find search state by handle %d\n", __func__, handle );
return;
}