am7xxx-modeswitch: reorder declarations of variables
authorAntonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 10:22:57 +0000 (12:22 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 13:17:49 +0000 (15:17 +0200)
examples/am7xxx-modeswitch.c

index 475ff4b..b431084 100644 (file)
@@ -34,10 +34,9 @@ static unsigned char switch_command[] =
 int main(void)
 {
        int ret;
-       int transferred;
        libusb_device_handle *usb_device;
-
        unsigned int len;
+       int transferred;
 
        ret = libusb_init(NULL);
        if (ret < 0) {