# HG changeset patch # User alpar # Date 1113840474 0 # Node ID f9d0d792c8a675a88f5adf358bf3915e1c2e27af # Parent a490662291b927bd7cdba92611f44d216b92f38b icc like this a bit more (no warnings). diff -r a490662291b9 -r f9d0d792c8a6 src/lemon/lp_glpk.cc --- a/src/lemon/lp_glpk.cc Mon Apr 18 14:59:24 2005 +0000 +++ b/src/lemon/lp_glpk.cc Mon Apr 18 16:07:54 2005 +0000 @@ -30,7 +30,8 @@ /// LpSolverBase &LpGlpk::_newLp() { - return *((LpSolverBase *)0); + LpSolverBase *tmp=0; + return *tmp; } ///\e @@ -39,7 +40,8 @@ /// LpSolverBase &LpGlpk::_copyLp() { - return *((LpSolverBase *)0); + LpSolverBase *tmp=0; + return *tmp; } LpGlpk::LpGlpk() : Parent(), diff -r a490662291b9 -r f9d0d792c8a6 src/lemon/lp_skeleton.cc --- a/src/lemon/lp_skeleton.cc Mon Apr 18 14:59:24 2005 +0000 +++ b/src/lemon/lp_skeleton.cc Mon Apr 18 16:07:54 2005 +0000 @@ -23,12 +23,14 @@ LpSolverBase &LpSkeleton::_newLp() { - return *((LpSolverBase *)0); + LpSolverBase *tmp=0; + return *tmp; } LpSolverBase &LpSkeleton::_copyLp() { - return *((LpSolverBase *)0); + LpSolverBase *tmp=0; + return *tmp; } int LpSkeleton::_addCol()