fix more warnings

This commit is contained in:
DarthArgus
2014-10-27 18:59:37 -07:00
parent 9e6f200300
commit 7b6271b48d
26 changed files with 71 additions and 170 deletions
@@ -41,13 +41,6 @@ bool CConfig::LoadFile(char * file)
// allocate buffer
pConfig = new char[length + 1];
if (pConfig == NULL)
{
fclose(fp);
fprintf(stderr,"Failed to alloc config buffer length %d",(int32)length);
return false;
}
memset(pConfig,0,length);
// read data, stripping comments