icc like this a bit more (no warnings).
authoralpar
Mon, 18 Apr 2005 16:07:54 +0000
changeset 1368f9d0d792c8a6
parent 1367 a490662291b9
child 1369 f1cf6b807414
icc like this a bit more (no warnings).
src/lemon/lp_glpk.cc
src/lemon/lp_skeleton.cc
     1.1 --- a/src/lemon/lp_glpk.cc	Mon Apr 18 14:59:24 2005 +0000
     1.2 +++ b/src/lemon/lp_glpk.cc	Mon Apr 18 16:07:54 2005 +0000
     1.3 @@ -30,7 +30,8 @@
     1.4    ///
     1.5    LpSolverBase &LpGlpk::_newLp()
     1.6    {
     1.7 -    return *((LpSolverBase *)0);
     1.8 +    LpSolverBase *tmp=0;
     1.9 +    return *tmp;
    1.10    }
    1.11    
    1.12    ///\e
    1.13 @@ -39,7 +40,8 @@
    1.14    ///
    1.15    LpSolverBase &LpGlpk::_copyLp()
    1.16    {
    1.17 -    return *((LpSolverBase *)0);
    1.18 +    LpSolverBase *tmp=0;
    1.19 +    return *tmp;
    1.20    }
    1.21  
    1.22    LpGlpk::LpGlpk() : Parent(), 
     2.1 --- a/src/lemon/lp_skeleton.cc	Mon Apr 18 14:59:24 2005 +0000
     2.2 +++ b/src/lemon/lp_skeleton.cc	Mon Apr 18 16:07:54 2005 +0000
     2.3 @@ -23,12 +23,14 @@
     2.4    
     2.5    LpSolverBase &LpSkeleton::_newLp()
     2.6    {
     2.7 -    return *((LpSolverBase *)0);
     2.8 +    LpSolverBase *tmp=0;
     2.9 +    return *tmp;
    2.10    }
    2.11    
    2.12    LpSolverBase &LpSkeleton::_copyLp()
    2.13    {
    2.14 -    return *((LpSolverBase *)0);
    2.15 +    LpSolverBase *tmp=0;
    2.16 +    return *tmp;
    2.17    }
    2.18  
    2.19    int LpSkeleton::_addCol()