Fix uninitialized (or unused) fields.

This commit is contained in:
Jon Siwek 2013-09-27 10:13:52 -05:00
parent 64f3bef96d
commit 775ec6795e
62 changed files with 135 additions and 98 deletions

View file

@ -14,9 +14,8 @@
#include "NetVar.h"
#include "RemoteSerializer.h"
ChunkedIO::ChunkedIO()
ChunkedIO::ChunkedIO() : stats(), tag(), pure()
{
pure = false;
}
void ChunkedIO::Stats(char* buffer, int length)
@ -656,6 +655,7 @@ SSL_CTX* ChunkedIOSSL::ctx;
ChunkedIOSSL::ChunkedIOSSL(int arg_socket, bool arg_server)
{
socket = arg_socket;
last_ret = 0;
eof = false;
setup = false;
server = arg_server;