mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Fix more clang warnings.
This commit is contained in:
@ -286,14 +286,14 @@ void plNetObjectDebugger::LogMsgIfMatch(const char* msg) const
|
||||
|
||||
char objName[128];
|
||||
int i=0;
|
||||
|
||||
|
||||
// copy objName token
|
||||
while(*c && *c != ',' && *c != ' ' && i<127)
|
||||
objName[i++] = *c++;
|
||||
objName[i++] = *c++;
|
||||
objName[i]=0;
|
||||
|
||||
DebugObjectList::const_iterator it = fDebugObjects.begin();
|
||||
for( objName[0]; it != fDebugObjects.end(); it++)
|
||||
for(; it != fDebugObjects.end(); it++)
|
||||
{
|
||||
if ((*it) && (*it)->StringMatches(objName))
|
||||
{
|
||||
|
Reference in New Issue
Block a user