VirtualBox

Changeset 53444 in vbox for trunk/src


Ignore:
Timestamp:
Dec 4, 2014 3:57:45 PM (10 years ago)
Author:
vboxsync
Message:

HostDrivers/Support: fix using uninitialized variable, code not yet used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r53430 r53444  
    78627862        return VERR_INVALID_CPU_ID;
    78637863
    7864     if (!GIP_ARE_TSC_DELTAS_APPLICABLE(pGip))
    7865         return VINF_SUCCESS;
    7866 
    78677864    cTries       = RT_MAX(pReq->u.In.cRetries + 1, 10);
    78687865    cMsWaitRetry = RT_MAX(pReq->u.In.cMsWaitRetry, 5);
    78697866    pGip = pDevExt->pGip;
     7867
     7868    if (!GIP_ARE_TSC_DELTAS_APPLICABLE(pGip))
     7869        return VINF_SUCCESS;
     7870
    78707871    for (iCpu = 0; iCpu < pGip->cCpus; iCpu++)
    78717872    {
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