mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Cleaned up C++ compiler warnings
All C++ projects now build without warnings with -Wall and -Wextra Change-Id: Idb6cf8b78274a30453e98c1e8edabcfb2a7fffb6
This commit is contained in:
@@ -28,7 +28,7 @@ void DigitalInput::InitDigitalInput(uint32_t channel)
|
||||
m_channel = channel;
|
||||
|
||||
int32_t status = 0;
|
||||
bool allocated = allocateDIO(m_digital_ports[channel], true, &status);
|
||||
allocateDIO(m_digital_ports[channel], true, &status);
|
||||
wpi_setErrorWithContext(status, getHALErrorMessage(status));
|
||||
|
||||
HALReport(HALUsageReporting::kResourceType_DigitalInput, channel);
|
||||
|
||||
Reference in New Issue
Block a user