VirtualBox

Changeset 24989 in vbox for trunk/src/VBox/Main/xpcom


Ignore:
Timestamp:
Nov 26, 2009 11:31:46 AM (15 years ago)
Author:
vboxsync
Message:

Main: enable -Wshadow gcc option to warn about shadowed variables and fix all resulting warnings; in particular, rename some stack and member variables and rename getter methods like id() to getId()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/server.cpp

    r24830 r24989  
    677677static nsresult
    678678RegisterSelfComponents(nsIComponentRegistrar *registrar,
    679                        const nsModuleComponentInfoEx *components,
     679                       const nsModuleComponentInfoEx *aComponents,
    680680                       PRUint32 count)
    681681{
    682682    nsresult rc = NS_OK;
    683     const nsModuleComponentInfoEx *info = components;
     683    const nsModuleComponentInfoEx *info = aComponents;
    684684    for (PRUint32 i = 0; i < count && NS_SUCCEEDED(rc); i++, info++)
    685685    {
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