Date:2012-11-11 13:28:29 (6 years 7 months ago)
Author:Werner Almesberger
Commit:155886ddcb2270b5cfc4a4c8b62a4cab5bb22ec3
Message:tools/lib/atusb-common.c (atusb_tx): fix compiler warning

Tried to return value in void function.
Files: tools/lib/atusb-common.c (1 diff)

Change Details

tools/lib/atusb-common.c
357357    if (res < 0) {
358358        fprintf(stderr, "usb_bulk_read: %d\n", res);
359359        dsc->error = 1;
360        return 0;
360        return;
361361    }
362362    if (tmp)
363363        fprintf(stderr, "atusb_tx: ACK is non-zero 0x%02x\n", tmp);

Archive Download the corresponding diff file



interactive