From 1cd614efc66d3b07d90496ab15da35402cf46289 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 24 Feb 2006 23:22:14 +0000 Subject: [PATCH] Fixed a warning message about no return from a double function. --- Cantera/clib/src/ct.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cantera/clib/src/ct.cpp b/Cantera/clib/src/ct.cpp index 9a3c64852..be12cf68b 100755 --- a/Cantera/clib/src/ct.cpp +++ b/Cantera/clib/src/ct.cpp @@ -64,8 +64,7 @@ static double pfprop(int n, int i, double v=0.0, double x=0.0) { case 7: p->setState_Tsat(v, x); return 0.0; } } - else - return DERR; + return DERR; }