mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
The variable last_rx_time shouldn't be able to be used without being initialized, so initialize it to make GCC 5.x & 6.x happy. common/btle_ll.c: In function 'bluetooth_ll_task': common/btle_ll.c:835:25: error: 'last_rx_time' may be used uninitialized in this function [-Werror=maybe-uninitialized] This does not change the size of any ec.*.flat file. BRANCH=none BUG=none TEST=build succeeds under GCC 4.9.2, 5.3, and 6.2 Change-Id: I99f716fcb3c8c871e4f325eca3bf3cd622e727d1 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/411406 Reviewed-by: Shawn N <shawnn@chromium.org>
22 KiB
22 KiB