diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2016-12-02 18:11:14 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2016-12-02 18:14:32 +0900 |
commit | 3ae032d25a0c7d905266ee28b6c5ef2700b87612 (patch) | |
tree | 384723c1af3ccbb359178d7989b5926b86030b44 | |
parent | ee5b7cb750966c131771a1e6864e0dcb514ff29b (diff) | |
download | camera-3ae032d25a0c7d905266ee28b6c5ef2700b87612.tar.gz camera-3ae032d25a0c7d905266ee28b6c5ef2700b87612.tar.bz2 camera-3ae032d25a0c7d905266ee28b6c5ef2700b87612.zip |
Fix Svace issue - UNREACHABLE_CODEsubmit/tizen/20161207.075356accepted/tizen/wearable/20161208.012126accepted/tizen/tv/20161208.012026accepted/tizen/mobile/20161208.011840accepted/tizen/ivi/20161208.012222accepted/tizen/common/20161207.184533
[Version] 0.2.88
[Profile] Common
[Issue Type] Svace
[Dependency module] N/A
Change-Id: Id144f0c03702509a3dff3d4118f2a58fc2175545
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r-- | packaging/capi-media-camera.spec | 2 | ||||
-rw-r--r-- | src/camera.c | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index f29f917..4eb1ca4 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -1,6 +1,6 @@ Name: capi-media-camera Summary: A Camera API -Version: 0.2.87 +Version: 0.2.88 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/camera.c b/src/camera.c index b4f152d..8919206 100644 --- a/src/camera.c +++ b/src/camera.c @@ -1513,10 +1513,8 @@ static void _camera_client_user_callback(camera_cb_info_s *cb_info, char *recv_m LOGD("return buffer done"); } break; - case MUSE_CAMERA_EVENT_TYPE_VIDEO_FRAME_RENDER_ERROR: - break; - default: - LOGW("Unknown event : %d", event); + default: /* MUSE_CAMERA_EVENT_TYPE_VIDEO_FRAME_RENDER_ERROR */ + LOGE("render error"); break; } |