aboutsummaryrefslogtreecommitdiff
path: root/webrtc
diff options
context:
space:
mode:
authorfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-06 20:13:49 +0000
committerfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-06 20:13:49 +0000
commitb464618c84652196069bbf9d11e59f6a465f6c13 (patch)
treec3223bd0a94e77b45f291b62884a0664332b0a5c /webrtc
parent745a39cced5e5fc5ed9d1c2df2d4659f0470ad8a (diff)
downloadwebrtc-b464618c84652196069bbf9d11e59f6a465f6c13.tar.gz
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
Diffstat (limited to 'webrtc')
-rw-r--r--webrtc/modules/video_capture/android/video_capture_android.cc2
1 files changed, 2 insertions, 0 deletions
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);
}