Fixed a warning message about getting to the end of a

int function without a return.
This commit is contained in:
Harry Moffat 2006-02-24 23:24:50 +00:00
parent 1cd614efc6
commit c876f55003

View file

@ -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; }
}