sensorutils: drop unused variables
Drop unused min10/max10 variables.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I9a696672e25936b1e26371044298d76bb14133f7
diff --git a/include/sensorutils.hpp b/include/sensorutils.hpp
index 393a086..e448cee 100644
--- a/include/sensorutils.hpp
+++ b/include/sensorutils.hpp
@@ -52,9 +52,6 @@
// Returns true if successful, modifies values in-place
static inline bool scaleFloatExp(double& base, int8_t& expShift)
{
- auto min10 = static_cast<double>(minInt10);
- auto max10 = static_cast<double>(maxInt10);
-
// Comparing with zero should be OK, zero is special in floating-point
// If base is exactly zero, no adjustment of the exponent is necessary
if (base == 0.0)