Styleguide fixes for #1718 (#1719)

This commit is contained in:
Peter Johnson
2019-06-14 18:51:49 -07:00
committed by GitHub
parent f07569df19
commit 1d0c05d4f8
2 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2015-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */

View File

@@ -447,8 +447,7 @@ void UsbCameraImpl::DeviceDisconnect() {
if (fd < 0) return; // already disconnected
// Unmap buffers
for (int i = 0; i < kNumBuffers; ++i)
m_buffers[i] = UsbCameraBuffer{};
for (int i = 0; i < kNumBuffers; ++i) m_buffers[i] = UsbCameraBuffer{};
// Close device
close(fd);