VirtualBox

Changeset 21133 in vbox for trunk


Ignore:
Timestamp:
Jul 1, 2009 3:40:34 PM (16 years ago)
Author:
vboxsync
Message:

xpcom: fix breakage (hiding local var)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp

    r21117 r21133  
    34733473    {
    34743474      const DConnectSetupQueryInterface *setupQI = (const DConnectSetupQueryInterface *) setup;
    3475       DConnectInstance *instance = (DConnectInstance *)setupQI->instance;
     3475      DConnectInstance *QIinstance = (DConnectInstance *)setupQI->instance;
    34763476
    34773477      // make sure we've been sent a valid wrapper
    3478       if (!CheckInstanceAndAddRef(instance, peer))
     3478      if (!CheckInstanceAndAddRef(QIinstance, peer))
    34793479      {
    34803480        NS_NOTREACHED("instance wrapper not found");
     
    34833483      else
    34843484      {
    3485         rv = instance->RealInstance()->QueryInterface(setupQI->iid, (void **) &instance);
    3486         instance->Release();
     3485        rv = QIinstance->RealInstance()->QueryInterface(setupQI->iid, (void **) &instance);
     3486        QIinstance->Release();
    34873487      }
    34883488      break;
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