VirtualBox

Ignore:
Timestamp:
Feb 21, 2024 7:25:15 PM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161848
Message:

libs/xpcom: Fix some unused variable warnings, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/base/nsExceptionService.cpp

    r102235 r103505  
    184184  /* member initializers and constructor code */
    185185  if (tlsIndex == NIL_RTTLS) {
     186    /* Parfait_ALLOW unused-var Used for debug builds in the assertion below. */
    186187    int vrc = RTTlsAllocEx( &tlsIndex, ThreadDestruct );
    187     NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "ScriptErrorService could not allocate TLS storage.");
     188    NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "ScriptErrorService could not allocate TLS storage."); RT_NOREF(vrc);
    188189  }
    189190  int vrc = RTSemFastMutexCreate(&lock);
    190   NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "Error allocating ExceptionService lock");
     191  NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "Error allocating ExceptionService lock"); RT_NOREF(vrc);
    191192
    192193  // observe XPCOM shutdown.
Note: See TracChangeset for help on using the changeset viewer.

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