cooling_type: remove unnecssary static_cast
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5d50d5bc503966910de3c33ed76edc11e3b6e248
diff --git a/cooling-type/cooling_type.cpp b/cooling-type/cooling_type.cpp
index a1c4748..ae81ee6 100644
--- a/cooling-type/cooling_type.cpp
+++ b/cooling-type/cooling_type.cpp
@@ -56,7 +56,7 @@
auto gpioDev = evdevOpen(gpioFd());
- auto value = static_cast<int>(0);
+ int value = 0;
auto fetch_rc = libevdev_fetch_event_value(gpioDev.get(), EV_KEY,
keycode, &value);
if (0 == fetch_rc)