diff options
author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2016-05-20 14:47:09 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2016-05-30 18:22:03 +0000 |
commit | cd1fc0b6ed27906c15b8f0e7f7e1b8cab147a3c3 (patch) | |
tree | 3737dcaf85b748d8a03e1cc111db9cfec1b7fed5 /LICENSE.LGPLv3 | |
parent | 6189199557a2b8eb981f37e6370b47c25b224b4e (diff) | |
download | qtsensors-cd1fc0b6ed27906c15b8f0e7f7e1b8cab147a3c3.tar.gz |
QCoverSensorGestureRecognizer: sanitize initialization.
Coverity noticed uninitialized members (CID 22309). Eliminate members
handler (never accessed or set; the code always uses
QtSensorGestureSensorHandler::instance() instead) and lastTs (set but
never accessed). Initialized timer (to 0; it'll be set more sensibly
as long as create() gets called). Reformatted constructor.
Change-Id: I41738ec51db94fb35e068af509e9a34bf9221770
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions