VirtualBox

Ignore:
Timestamp:
Feb 14, 2024 2:24:04 PM (10 months ago)
Author:
vboxsync
Message:

IPRT/tstRTEnv: Shut up parfait warning about using a potential uninitialized variable or two. bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTEnv.cpp

    r98103 r103357  
    8686
    8787    /* ditto for a clone. */
    88     RTENV Env;
     88    RTENV Env = NIL_RTENV;
    8989    CHECK_RC(RTEnvClone(&Env, RTENV_DEFAULT), VINF_SUCCESS);
    90     RTENV hEnvEq;
     90    RTENV hEnvEq = NIL_RTENV;
    9191    CHECK_RC(RTEnvCreateEx(&hEnvEq, RTENV_CREATE_F_ALLOW_EQUAL_FIRST_IN_VAR), VINF_SUCCESS);
    92     RTENV hEnvNoEq;
     92    RTENV hEnvNoEq = NIL_RTENV;
    9393    CHECK_RC(RTEnvCreateEx(&hEnvNoEq, 0), VINF_SUCCESS);
    9494
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