VirtualBox

Changeset 36491 in vbox


Ignore:
Timestamp:
Apr 1, 2011 12:38:26 PM (14 years ago)
Author:
vboxsync
Message:

'c' means 'count of' not 'const', 'pcSomething' = pointer to a count of something. 'pcsz' is tolerated for historical reasons. Using 'pc' to indicate a const pointer is very confusing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp

    r36431 r36491  
    121121    if (!pcszUsbRoot)
    122122    {
    123         PCUSBDEVTREELOCATION pcLocation;
    124         pcLocation = USBProxyLinuxGetDeviceRoot(fUseSysfs);
    125         if (pcLocation)
    126         {
    127             pcszUsbRoot = pcLocation->szDevicesRoot;
    128             fUseSysfs = pcLocation->fUseSysfs;
     123        PCUSBDEVTREELOCATION pLocation;
     124        pLocation = USBProxyLinuxGetDeviceRoot(fUseSysfs);
     125        if (pLocation)
     126        {
     127            pcszUsbRoot = pLocation->szDevicesRoot;
     128            fUseSysfs = pLocation->fUseSysfs;
    129129        }
    130130    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette