mirror of https://github.com/BOINC/boinc.git
initialize fields in constructors
fixes CID 27958 found by Coverity Scan
This commit is contained in:
parent
9ffe92f7d1
commit
c4ba2d2ca8
|
@ -47,10 +47,15 @@
|
|||
using std::vector;
|
||||
|
||||
SCHEDULER_OP::SCHEDULER_OP(HTTP_OP_SET* h) {
|
||||
cur_proj = NULL;
|
||||
state = SCHEDULER_OP_STATE_IDLE;
|
||||
scheduler_op_retval = 0;
|
||||
http_op.http_op_state = HTTP_STATE_IDLE;
|
||||
http_ops = h;
|
||||
strcpy(scheduler_url,"");
|
||||
url_index = 0;
|
||||
cur_proj = NULL;
|
||||
state = SCHEDULER_OP_STATE_IDLE;
|
||||
reason = 0;
|
||||
url_random = 0.0;
|
||||
}
|
||||
|
||||
// See if there's a pending master file fetch.
|
||||
|
|
Loading…
Reference in New Issue