mirror of https://github.com/BOINC/boinc.git
Vboxwrapper: initialize class members
found by Coverity (CIDs 278299 34531)
This commit is contained in:
parent
7cfd7296f8
commit
24c307a1c4
|
@ -72,6 +72,15 @@ static FloppyIOException __FloppyIOExceptionSingleton;
|
||||||
//
|
//
|
||||||
|
|
||||||
FloppyIO::FloppyIO(const char * filename, int flags) {
|
FloppyIO::FloppyIO(const char * filename, int flags) {
|
||||||
|
// initialize class members
|
||||||
|
ofsInput = 0;
|
||||||
|
szInput = 0;
|
||||||
|
ofsOutput = 0;
|
||||||
|
szOutput = 0;
|
||||||
|
ofsCtrlByteIn = 0;
|
||||||
|
ofsCtrlByteOut = 0;
|
||||||
|
synchronized = false;
|
||||||
|
syncTimeout = 0;
|
||||||
// Clear error flag
|
// Clear error flag
|
||||||
this->error = 0;
|
this->error = 0;
|
||||||
|
|
||||||
|
|
|
@ -119,6 +119,7 @@ VBOX_BASE::VBOX_BASE() : VBOX_JOB() {
|
||||||
register_only = false;
|
register_only = false;
|
||||||
rd_host_port = 0;
|
rd_host_port = 0;
|
||||||
headless = true;
|
headless = true;
|
||||||
|
log_pointer = 0;
|
||||||
vm_pid = 0;
|
vm_pid = 0;
|
||||||
vboxsvc_pid = 0;
|
vboxsvc_pid = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue