Opened 12 years ago

Closed 12 years ago

#23 closed defect (fixed)

trunk\cbc\src\cbcgeneric.cpp abends with MSVisualStudio V8

Reported by: jpfasano Owned by: somebody
Priority: major Component: component1
Version: Keywords:
Cc:

Description

trunk\cbc\src\cbcgeneric.cpp abends with MSVisualStudio V8 because CbcOsiParamUtils::setOsiSolverInterfaceDefaults uses an unintialized variable. The uninitialized variable is 'result' on line 186 of file trunk\cbc\src\cbcgenosiparamutils.cpp:

if (!result)
{ result = osi->setIntParam(OsiNameDiscipline?,0) ; }

'result' is declared on line 177, but never given an initial value.

Change History (1)

comment:1 Changed 12 years ago by forrest

  • Resolution set to fixed
  • Status changed from new to closed

added correct use of return code

Note: See TracTickets for help on using tickets.