From 3d68176cfd28861b1849d94d62c44a7b2a8da3f8 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 12 Dec 2018 14:22:54 -0800 Subject: [PATCH] Fix cert-dcl16-c clang-tidy warnings Bug: 120614316 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c Change-Id: I744040edc476bf2bb58413a2a14965c27113a5bd --- modules/sensors/dynamic_sensor/HidRawSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sensors/dynamic_sensor/HidRawSensor.cpp b/modules/sensors/dynamic_sensor/HidRawSensor.cpp index a64d7a68..ae6ef473 100644 --- a/modules/sensors/dynamic_sensor/HidRawSensor.cpp +++ b/modules/sensors/dynamic_sensor/HidRawSensor.cpp @@ -35,7 +35,7 @@ const std::string CUSTOM_TYPE_PREFIX("com.google.hardware.sensor.hid_dynamic."); HidRawSensor::HidRawSensor( SP(HidDevice) device, uint32_t usage, const std::vector &packets) : mReportingStateId(-1), mPowerStateId(-1), mReportIntervalId(-1), mInputReportId(-1), - mEnabled(false), mSamplingPeriod(1000ll*1000*1000), mBatchingPeriod(0), + mEnabled(false), mSamplingPeriod(1000LL*1000*1000), mBatchingPeriod(0), mDevice(device), mValid(false) { if (device == nullptr) { return;