From b464618c84652196069bbf9d11e59f6a465f6c13 Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Fri, 6 Jun 2014 20:13:49 +0000 Subject: [PATCH] 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 --- webrtc/modules/video_capture/android/video_capture_android.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/modules/video_capture/android/video_capture_android.cc b/webrtc/modules/video_capture/android/video_capture_android.cc index 2ecac2e4f1..c9aa52ce7f 100644 --- a/webrtc/modules/video_capture/android/video_capture_android.cc +++ b/webrtc/modules/video_capture/android/video_capture_android.cc @@ -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); }