Remove superfluous pointer check

The pointer to a member variable of a static object is never NULL, so
checking for this is useless.
Controls
Nicolas Hake 2015-05-25 16:27:16 +02:00
parent 4b1b06388e
commit b791404147
1 changed files with 0 additions and 1 deletions

View File

@ -1349,7 +1349,6 @@ static bool FnGetMissionAccess(C4PropList * _this, C4String *strMissionAccess)
if (::Control.SyncMode())
Log("Warning: using GetMissionAccess may cause desyncs when playing records!");
if (!Config.General.MissionAccess) return false;
return SIsModule(Config.General.MissionAccess, FnStringPar(strMissionAccess));
}