mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Removed error variables to avoid warning
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ EXPORT_CODE int CONVENTION set_reference_stateS(const char *Ref, const char *ref
|
||||
CoolProp::set_reference_stateS(_Ref, _reference_state);
|
||||
return true;
|
||||
}
|
||||
catch(std::exception &e){
|
||||
catch(std::exception &){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -97,7 +97,7 @@ EXPORT_CODE int CONVENTION set_reference_stateD(const char *Ref, double T, doubl
|
||||
CoolProp::set_reference_stateD(std::string(Ref), T, rho, h0, s0);
|
||||
return true;
|
||||
}
|
||||
catch(std::exception &e){
|
||||
catch(std::exception &){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user