mirror of https://github.com/BOINC/boinc.git
initialize variable before use
fixes CID 28021 found by Coverity
This commit is contained in:
parent
52f494ef98
commit
7c8be3f478
|
@ -566,12 +566,14 @@ int main(int argc, char** argv) {
|
|||
//
|
||||
#if 0
|
||||
policy.replication = 2;
|
||||
policy.max_ft = 1;
|
||||
policy.coding_levels = 1;
|
||||
policy.codings[0].n = 4;
|
||||
policy.codings[0].k = 2;
|
||||
policy.codings[0].m = 6;
|
||||
#else
|
||||
policy.replication = 1;
|
||||
policy.max_ft = 0;
|
||||
policy.coding_levels = 2;
|
||||
policy.codings[0].n = 4;
|
||||
policy.codings[0].k = 2;
|
||||
|
|
Loading…
Reference in New Issue