commit | e6a2f21608b32718baf35daa355d780040f120cb | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Oct 16 12:16:31 2018 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Oct 16 12:16:31 2018 -0700 |
tree | 1e50e40d8b3abe4aab7b50ece92d4efdfb7accb3 | |
parent | 225f99219cb5a950f49983cc31f7a8f2e9349fb6 [diff] |
Fix implicit fallthrough warning. Bug: 112564944 Test: make checkbuild Change-Id: Ia7b87dcd910141893d9b15ce781a56c4bc9efd69
diff --git a/camera/ndk/impl/ACameraDevice.cpp b/camera/ndk/impl/ACameraDevice.cpp index 907debc..9d70d40 100644 --- a/camera/ndk/impl/ACameraDevice.cpp +++ b/camera/ndk/impl/ACameraDevice.cpp
@@ -1290,7 +1290,7 @@ } default: ALOGE("Unknown error from camera device: %d", errorCode); - // no break + [[fallthrough]]; case ERROR_CAMERA_DEVICE: case ERROR_CAMERA_SERVICE: {