VirtualBox

Ignore:
Timestamp:
Jun 3, 2009 9:37:38 AM (16 years ago)
Author:
vboxsync
Message:

more IProgess::GetResultCode() gcc warnings

Location:
trunk/src/VBox/Frontends/VBoxHeadless
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r19817 r20225  
    910910        if (SUCCEEDED(progress->WaitForCompletion (-1)))
    911911        {
    912             progress->COMGETTER(ResultCode)(&rc);
    913             if (FAILED(rc))
     912            LONG progressRc;
     913            progress->COMGETTER(ResultCode)(&progressRc);
     914            rc = progressRc;
     915            if (FAILED(progressRc))
    914916            {
    915917                com::ProgressErrorInfo info(progress);
  • trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp

    r19239 r20225  
    116116            ASSERT (completed);
    117117
    118             HRESULT resultCode;
     118            LONG resultCode;
    119119            CHECK_ERROR_BREAK (progress, COMGETTER(ResultCode) (&resultCode));
    120120            if (FAILED (resultCode))
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