mirror of https://github.com/BOINC/boinc.git
Lib: initialize fields in constructor
fixes CID 27953 found by Coverity
This commit is contained in:
parent
e90eabf5e5
commit
230af4a5df
|
@ -60,6 +60,10 @@ using std::vector;
|
|||
|
||||
RPC_CLIENT::RPC_CLIENT() {
|
||||
sock = -1;
|
||||
start_time = 0;
|
||||
timeout = 0;
|
||||
retry = 0;
|
||||
memset(&addr, 0, sizeof(addr));
|
||||
}
|
||||
|
||||
RPC_CLIENT::~RPC_CLIENT() {
|
||||
|
|
Loading…
Reference in New Issue