commit | 1ccdb5e1a67eda53b7617e1f35fd4711b3de4072 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Thu Jan 24 09:44:01 2019 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Thu Jan 24 09:44:56 2019 -0800 |
tree | d5d740e45b05bbb1c361d584c058782dad4a8f7e | |
parent | e8b60d0bf09510f44cec9eb9792cd027393da3df [diff] |
Add missing return for empty configuration Should not continue on error. Change-Id: Ic6ab18806d654e25f2f23ac2aaa8ff79c531b9d4 Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/ExitAirTempSensor.cpp b/src/ExitAirTempSensor.cpp index c7e6e8e..9e493f0 100644 --- a/src/ExitAirTempSensor.cpp +++ b/src/ExitAirTempSensor.cpp
@@ -132,6 +132,7 @@ if (ec) { std::cerr << "Error getting properties from " << path << "\n"; + return; } double max = loadVariant<double>(data, "MaxValue");