commit | d3d2598c721994a90907527bfda9a119fbc27db3 | [log] [tgz] |
---|---|---|
author | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Jun 06 20:13:49 2014 |
committer | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Jun 06 20:13:49 2014 |
tree | 81ca500695fe5042d25e19bbc8a2939d78c445a6 | |
parent | daf186d2dc08150a1c982cc515c546954dffb1c6 [diff] |
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/webrtc@6357 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/video_capture/android/video_capture_android.cc b/modules/video_capture/android/video_capture_android.cc index 2ecac2e..c9aa52c 100644 --- a/modules/video_capture/android/video_capture_android.cc +++ b/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 @@ kCameraRotate0; // Impossible. int32_t status = captureModule->VideoCaptureImpl::SetCaptureRotation(rotation); + RTC_UNUSED(status); assert(status == 0); }