VirtualBox

Changeset 42567 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 3, 2012 9:07:34 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79744
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r42566 r42567  
    2929#include "ProgressImpl.h"
    3030
     31#include <memory> /* For auto_ptr. */
     32
    3133#include <iprt/env.h>
    3234
     
    8890    {
    8991        HRESULT hr = mProgress->notifyComplete(S_OK);
    90         ComAssertComRC(hr);
     92        if (FAILED(hr))
     93            return VERR_COM_UNEXPECTED; /** @todo Find a better rc. */
    9194    }
    9295
     
    103106        && !fCompleted)
    104107    {
    105         HRESULT hr = mProgress->notifyComplete(hr,
     108        HRESULT hr2 = mProgress->notifyComplete(hr,
    106109                                               COM_IIDOF(IGuestSession),
    107110                                               GuestSession::getStaticComponentName(),
    108111                                               strMsg.c_str());
    109         if (FAILED(hr))
     112        if (FAILED(hr2))
    110113            return VERR_COM_UNEXPECTED;
    111114    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette