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:
@ -10,6 +10,7 @@
|
||||
|
||||
#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/video_capture/android/device_info_android.h"
|
||||
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
|
||||
@ -61,6 +62,7 @@ void JNICALL OnOrientationChanged(
|
||||
kCameraRotate0; // Impossible.
|
||||
int32_t status =
|
||||
captureModule->VideoCaptureImpl::SetCaptureRotation(rotation);
|
||||
RTC_UNUSED(status);
|
||||
assert(status == 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user