mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
uninitialized variables-core
This commit is contained in:
parent
3c0360fd2f
commit
1cea8ffacb
|
|
@ -114,12 +114,22 @@ ConsoleDocClass( HTTPObject,
|
|||
//--------------------------------------
|
||||
|
||||
HTTPObject::HTTPObject()
|
||||
: mParseState(ParsingStatusLine),
|
||||
mTotalBytes(0),
|
||||
mBytesRemaining(0),
|
||||
mStatus(0),
|
||||
mVersion(0.0f),
|
||||
mContentLength(0),
|
||||
mChunkedEncoding(false),
|
||||
mChunkSize(0),
|
||||
mContentType(""),
|
||||
mHostName(NULL),
|
||||
mPath(NULL),
|
||||
mQuery(NULL),
|
||||
mPost(NULL),
|
||||
mBufferSave(NULL),
|
||||
mBufferSaveSize(0)
|
||||
{
|
||||
mHostName = 0;
|
||||
mPath = 0;
|
||||
mQuery = 0;
|
||||
mPost = 0;
|
||||
mBufferSave = 0;
|
||||
}
|
||||
|
||||
HTTPObject::~HTTPObject()
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ struct ServerInfo
|
|||
statusString = NULL;
|
||||
infoString = NULL;
|
||||
version = 0;
|
||||
dMemset(&address, '\0', sizeof(NetAddress));
|
||||
ping = 0;
|
||||
cpuSpeed = 0;
|
||||
isFavorite = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue