mirror of https://github.com/BOINC/boinc.git
initialize fields in constructors
fixes CID 28025 found by Coverity Scan
This commit is contained in:
parent
c4ba2d2ca8
commit
365ca7960f
|
@ -457,6 +457,8 @@ STARFIELD::STARFIELD() {
|
|||
stars = NULL;
|
||||
zmax = 8;
|
||||
zmaxinv = 1/zmax;
|
||||
speed = 0;
|
||||
nstars = 0;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue