commit | b2651e7ad0d434e659f75e6383c9617b0fb92af8 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Oct 11 07:42:12 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Fri Oct 11 17:49:31 2019 +0000 |
tree | 2d16c9fbd11761a4fb042bf6f5f5f5700978ce95 | |
parent | 49cfba951d35c2512d66e756d0121d1161b46a0e [diff] |
pwmsensor: drop unnecessary return [src/PwmSensor.cpp:133]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I115285c10a8e38f19c300edab789223da05a2fa6
diff --git a/src/PwmSensor.cpp b/src/PwmSensor.cpp index 063c359..86a76f2 100644 --- a/src/PwmSensor.cpp +++ b/src/PwmSensor.cpp
@@ -130,7 +130,6 @@ if (!ref.good()) { throw std::runtime_error("Bad Write File"); - return; } ref << value; }