Cleaned up C++ compiler warnings

All C++ projects now build without warnings with -Wall and -Wextra

Change-Id: Idb6cf8b78274a30453e98c1e8edabcfb2a7fffb6
This commit is contained in:
Thomas Clark
2014-08-05 11:48:47 -04:00
parent 1be31431bc
commit f4ace4a36d
10 changed files with 66 additions and 76 deletions

View File

@@ -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);