Unbreak NDEBUG compile by RTC_UNUSED()ing an assert()d variable.

TBR=wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/19659004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6357 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
fischman@webrtc.org
2014-06-06 20:13:49 +00:00
parent 745a39cced
commit b464618c84

View File

@ -10,6 +10,7 @@
#include "webrtc/modules/video_capture/android/video_capture_android.h" #include "webrtc/modules/video_capture/android/video_capture_android.h"
#include "webrtc/base/common.h"
#include "webrtc/modules/utility/interface/helpers_android.h" #include "webrtc/modules/utility/interface/helpers_android.h"
#include "webrtc/modules/video_capture/android/device_info_android.h" #include "webrtc/modules/video_capture/android/device_info_android.h"
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" #include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
@ -61,6 +62,7 @@ void JNICALL OnOrientationChanged(
kCameraRotate0; // Impossible. kCameraRotate0; // Impossible.
int32_t status = int32_t status =
captureModule->VideoCaptureImpl::SetCaptureRotation(rotation); captureModule->VideoCaptureImpl::SetCaptureRotation(rotation);
RTC_UNUSED(status);
assert(status == 0); assert(status == 0);
} }