mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
uninitialized variables-core
This commit is contained in:
parent
3c0360fd2f
commit
1cea8ffacb
2 changed files with 16 additions and 5 deletions
|
|
@ -114,12 +114,22 @@ ConsoleDocClass( HTTPObject,
|
||||||
//--------------------------------------
|
//--------------------------------------
|
||||||
|
|
||||||
HTTPObject::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()
|
HTTPObject::~HTTPObject()
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,7 @@ struct ServerInfo
|
||||||
statusString = NULL;
|
statusString = NULL;
|
||||||
infoString = NULL;
|
infoString = NULL;
|
||||||
version = 0;
|
version = 0;
|
||||||
|
dMemset(&address, '\0', sizeof(NetAddress));
|
||||||
ping = 0;
|
ping = 0;
|
||||||
cpuSpeed = 0;
|
cpuSpeed = 0;
|
||||||
isFavorite = false;
|
isFavorite = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue