From c876f550037e8f355ccd4ef6b54ac24ffb2132b6 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 24 Feb 2006 23:24:50 +0000 Subject: [PATCH] Fixed a warning message about getting to the end of a int function without a return. --- Cantera/clib/src/ctonedim.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Cantera/clib/src/ctonedim.cpp b/Cantera/clib/src/ctonedim.cpp index c125fed6b..2a968b9ce 100644 --- a/Cantera/clib/src/ctonedim.cpp +++ b/Cantera/clib/src/ctonedim.cpp @@ -617,6 +617,7 @@ extern "C" { int DLL_EXPORT sim1D_setFixedTemperature(int i, double temp) { try { _sim1D(i)->setFixedTemperature(temp); + return 0; } catch (CanteraError) { return -1; } }