VirtualBox

Changeset 62438 in vbox for trunk


Ignore:
Timestamp:
Jul 22, 2016 1:06:48 PM (8 years ago)
Author:
vboxsync
Message:

dtrace: MSC level 4 warnings (release build)

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0.cpp

    r59959 r62438  
    608608    va_start(va, pszFormat);
    609609    dtrace_vpanic(pszFormat, va);
    610     va_end(va);
     610    /*va_end(va); - unreachable */
    611611}
    612612
     
    677677{
    678678    int32_t cRefs = ASMAtomicIncS32(&pCred->cr_refs);
    679     Assert(cRefs > 1);
     679    Assert(cRefs > 1); NOREF(cRefs);
    680680}
    681681
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r62435 r62438  
    24752475                    DTRACESPEC_COMMITTING, DTRACESPEC_INACTIVE);
    24762476
    2477                 ASSERT(rval == DTRACESPEC_COMMITTING);
     2477                ASSERT(rval == DTRACESPEC_COMMITTING); NOREF(rval);
    24782478        }
    24792479
     
    94079407dtrace_predicate_release(dtrace_predicate_t *pred, dtrace_vstate_t *vstate)
    94089408{
     9409#ifdef VBOX_STRICT
    94099410        dtrace_difo_t *dp = pred->dtp_difo;
     9411#endif
    94109412
    94119413        ASSERT(MUTEX_HELD(&dtrace_lock));
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