VirtualBox

Changeset 47953 in vbox


Ignore:
Timestamp:
Aug 21, 2013 8:41:45 AM (11 years ago)
Author:
vboxsync
Message:

Main/testcase/tstVBoxAPILinux.cpp: remove unnecessary code which passes a safearray with lots of 0 values, an empty safearray has the same effect there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp

    r47816 r47953  
    324324         */
    325325        nsCOMPtr <IProgress> progress;
    326         com::SafeArray<MediumVariant_T> mediumVariant(sizeof(MediumVariant_T)*8);
     326        com::SafeArray<MediumVariant_T> mediumVariant;
    327327        mediumVariant.push_back(MediumVariant_Standard);
    328328        rc = hardDisk->CreateBaseStorage(100,                                // size in megabytes
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