Opened 12 years ago

Closed 12 years ago

#1219 closed Defect (fixed)

"lib\coproc.h" The variable is assigned values twice successively.

Reported by: maksqwe Owned by: davea
Priority: Undetermined Milestone: Undetermined
Component: BOINC - API Version: 7.0.42
Keywords: Cc:

Description

In "lib\coproc.h" The 'available_ram' variable is assigned values twice successively. 244 and 249 lines:

    inline void clear() {
        type[0] = 0;
        count = 0;
        peak_flops = 0;
        used = 0;
        have_cuda = false;
        have_cal = false;
        have_opencl = false;
        specified_in_config = false;
        available_ram = -1;      // <========
        req_secs = 0;
        req_instances = 0;
        opencl_device_count = 0;
        estimated_delay = 0;
        available_ram = 0;       // <========
...

Change History (2)

comment:1 Changed 12 years ago by Christian Beer

Component: UndeterminedBOINC - API
Owner: set to davea
Version: 7.0.287.0.42

comment:2 Changed 12 years ago by davea@…

Resolution: fixed
Status: newclosed

commit 15a21da44e7cb144270362ee91552bcec5223b37 Author: David Anderson <davea@…> Date: Mon Jan 7 11:47:47 2013 -0800

  • compile fixes. Fixes #1219
Note: See TracTickets for help on using tickets.