aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MassStorageHost/Lib
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-11-28 13:14:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-11-28 13:14:51 +0000
commit057972bd250520906c28cd80ecacd08540038f9a (patch)
tree71e1cd498750e8f3af3b2d371b0d986f6b00723d /Demos/Host/LowLevel/MassStorageHost/Lib
parentb0a258722db5865801f182974449da735554293e (diff)
downloadlufa-057972bd250520906c28cd80ecacd08540038f9a.tar.gz
lufa-057972bd250520906c28cd80ecacd08540038f9a.tar.bz2
lufa-057972bd250520906c28cd80ecacd08540038f9a.zip
Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.
Diffstat (limited to 'Demos/Host/LowLevel/MassStorageHost/Lib')
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c
index fea9704f1..765d0ed5f 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)
{