Remove unused var in device info bits from video capture module for Linux
Bug: None
Change-Id: Icea40fe58e7f65cd1eb311c456ce3cdc802f88a8
Reviewed-on: https://webrtc-review.googlesource.com/97421
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24700}
diff --git a/AUTHORS b/AUTHORS
index f03daca..6b0afd8 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -29,6 +29,7 @@
Jens Nielsen <jens.nielsen@berotec.se>
Jiawei Ou <jiawei.ou@gmail.com>
Jie Mao <maojie0924@gmail.com>
+Jose Antonio Olivera Ortega <josea.olivera@gmail.com>
Luke Weber <luke.weber@gmail.com>
Maksim Khobat <maksimkhobat@gmail.com>
Mallikarjuna Rao V <vm.arjun@samsung.com>
diff --git a/modules/video_capture/linux/device_info_linux.cc b/modules/video_capture/linux/device_info_linux.cc
index 7c43877..e4902c7 100644
--- a/modules/video_capture/linux/device_info_linux.cc
+++ b/modules/video_capture/linux/device_info_linux.cc
@@ -226,7 +226,6 @@
{960, 720}, {1280, 720}, {1024, 768}, {1440, 1080},
{1920, 1080}};
- int index = 0;
for (int fmts = 0; fmts < totalFmts; fmts++) {
for (int i = 0; i < sizes; i++) {
video_fmt.fmt.pix.pixelformat = videoFormats[fmts];
@@ -258,7 +257,6 @@
}
_captureCapabilities.push_back(cap);
- index++;
RTC_LOG(LS_VERBOSE) << "Camera capability, width:" << cap.width
<< " height:" << cap.height
<< " type:" << static_cast<int32_t>(cap.videoType)