Changeset 850fd32 in mainline for uspace/lib/usbdev/src


Ignore:
Timestamp:
2018-03-11T01:21:19Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84239b1, f0e825d
Parents:
338d54a7
Message:

Fix mischievious semicolons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    r338d54a7 r850fd32  
    115115static inline size_t count_pipes(const usb_endpoint_description_t **endpoints)
    116116{
    117         size_t count;
    118         for (count = 0; endpoints != NULL && endpoints[count] != NULL; ++count);
     117        size_t count = 0;
     118        while (endpoints != NULL && endpoints[count] != NULL)
     119                ++count;
    119120        return count;
    120121}
Note: See TracChangeset for help on using the changeset viewer.