Changeset 9b8958b in mainline for uspace/drv/bus/usb/ohci/pci.c


Ignore:
Timestamp:
2011-10-07T17:11:07Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75f9dcd
Parents:
58edcfb
Message:

ohci: Declare iteration variables inside for loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/pci.c

    r58edcfb r9b8958b  
    8585        bool irq_found = false;
    8686
    87         size_t i;
    88         for (i = 0; i < hw_resources.count; i++) {
     87        for (size_t i = 0; i < hw_resources.count; i++) {
    8988                hw_resource_t *res = &hw_resources.resources[i];
    9089                switch (res->type) {
Note: See TracChangeset for help on using the changeset viewer.