Revert changed version files in /trunk/ now that the LUFA-120219-BETA version has...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / PrinterClassHost.c
index 8bb0acd..2d34991 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2011.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -382,7 +382,7 @@ uint8_t PRNT_Host_GetDeviceID(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo
                               char* const DeviceIDString,
                               const uint16_t BufferSize)
 {
                               char* const DeviceIDString,
                               const uint16_t BufferSize)
 {
-       uint8_t  ErrorCode = HOST_SENDCONTROL_Successful;
+       uint8_t  ErrorCode;
        uint16_t DeviceIDStringLength = 0;
 
        USB_ControlRequest = (USB_Request_Header_t)
        uint16_t DeviceIDStringLength = 0;
 
        USB_ControlRequest = (USB_Request_Header_t)