diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-11-28 13:14:51 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-11-28 13:14:51 +0000 |
| commit | 708a98192fc79fdaaa57f8da2847defd7c05a89f (patch) | |
| tree | 71e1cd498750e8f3af3b2d371b0d986f6b00723d | |
| parent | 0d2320b8f73f9c0bb45e652ba7d228fbcceaf6af (diff) | |
Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1995 d5102386-fcda-11dd-9fdb-3debd5008f28
| -rw-r--r-- | Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c | 2 | ||||
| -rw-r--r-- | Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c index fea9704f..765d0ed5 100644 --- a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c +++ b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c @@ -326,7 +326,7 @@ uint8_t MassStore_MassStorageReset(void) */ uint8_t MassStore_GetMaxLUN(uint8_t* const MaxLUNIndex) { - uint8_t ErrorCode = HOST_SENDCONTROL_Successful; + uint8_t ErrorCode; USB_ControlRequest = (USB_Request_Header_t) { diff --git a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c index 0d5a7e04..e335072f 100644 --- a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c +++ b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c @@ -75,7 +75,7 @@ uint8_t Printer_SendData(const void* const PrinterCommands, uint8_t Printer_GetDeviceID(char* DeviceIDString, const uint16_t BufferSize) { - uint8_t ErrorCode = HOST_SENDCONTROL_Successful; + uint8_t ErrorCode; uint16_t DeviceIDStringLength = 0; USB_ControlRequest = (USB_Request_Header_t) |
