diff options
author | Sergii Piatakov <sergii.piatakov@globallogic.com> | 2018-08-06 09:38:44 +0300 |
---|---|---|
committer | Sergii Piatakov <sergii.piatakov@globallogic.com> | 2018-08-10 14:37:02 +0300 |
commit | 416b6d263fb67b98c06d9575eec03d451e84f12e (patch) | |
tree | ae8042b74416a0284cfb18148486d2fb81ee5172 | |
parent | 752836d7a6e1b364068662099342190c43301288 (diff) | |
download | libhardware-416b6d263fb67b98c06d9575eec03d451e84f12e.tar.gz |
camera: fix `-Wunused-variable` compiler warnings
Test: add `USE_CAMERA_V4L2_HAL := true` to
hardware/libhardware/modules/camera/3_4/Android.mk and build
mmm hardware/libhardware/modules/camera/3_4
Change-Id: I2755278b739db0bb746a78d0b66e1f644a44ff19
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
-rw-r--r-- | modules/camera/3_4/request_tracker.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/camera/3_4/request_tracker.cpp b/modules/camera/3_4/request_tracker.cpp index d4cbe47c..4168c3ba 100644 --- a/modules/camera/3_4/request_tracker.cpp +++ b/modules/camera/3_4/request_tracker.cpp @@ -128,7 +128,6 @@ bool RequestTracker::CanAddRequest(const CaptureRequest& request) const { // Check that each stream has space // (which implicitly checks if it is configured). - bool result = true; for (const auto stream : RequestStreams(request)) { if (StreamFull(stream)) { ALOGE("%s: Stream %p is full.", __func__, stream); |