- more cleanup from cppcheck (using eclipse plugin now)

This commit is contained in:
Mark Vejvoda
2011-12-02 17:46:02 +00:00
parent f6dafcde3c
commit 66f44ff7c4
10 changed files with 24 additions and 16 deletions

View File

@@ -616,11 +616,11 @@ string getNetworkInterfaceBroadcastAddress(string ipAddress)
next = next->Next;
}
}
char buf[128]="";
//char buf[128]="";
if (name == NULL)
{
//sprintf(buf, "unnamed-%i", i);
name = buf;
name = "";
}
uint32 ipAddr = ntohl(row.dwAddr);