VirtualBox

Changeset 78603 in vbox for trunk/src


Ignore:
Timestamp:
May 20, 2019 4:38:50 PM (6 years ago)
Author:
vboxsync
Message:

bugref:9416. Fixed uninitialized variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r78602 r78603  
    15461546        /* Put all VFS* declaration here because they are needed to be release by the corresponding
    15471547           RTVfs***Release functions in the case of exception */
    1548         RTVFSOBJ     hVfsObj;
    1549         RTVFSFSSTREAM hVfsFssObject;
    1550         RTVFSIOSTREAM hVfsIosCurr;
     1548        RTVFSOBJ     hVfsObj = NIL_RTVFSOBJ;
     1549        RTVFSFSSTREAM hVfsFssObject = NIL_RTVFSFSSTREAM;
     1550        RTVFSIOSTREAM hVfsIosCurr = NIL_RTVFSIOSTREAM;
    15511551
    15521552        /* Continue and create new VM using data from VSD and downloaded object.
     
    17611761                        void  *pvBuffered;
    17621762                        size_t cbBuffered;
    1763                         RTVFSFILE hVfsDstFile;
     1763                        RTVFSFILE hVfsDstFile = NIL_RTVFSFILE;
    17641764                        try
    17651765                        {
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