mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix Coverity CID 38597
No need to initialize cached_component_string; its default constructor creates an empty string
This commit is contained in:
@@ -36,7 +36,7 @@ protected:
|
||||
CoolPropDbl call_phi0dll(long itau, long idelta);
|
||||
|
||||
public:
|
||||
REFPROPMixtureBackend(){cached_component_string = ""; instance_counter++;};
|
||||
REFPROPMixtureBackend():Ncomp(0),_mole_fractions_set(false) {instance_counter++;}
|
||||
|
||||
/// The instantiator
|
||||
/// @param fluid_names The vector of strings of the fluid components, without file ending
|
||||
|
||||
Reference in New Issue
Block a user