VirtualBox

Changeset 62370 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 20, 2016 5:12:05 PM (9 years ago)
Author:
vboxsync
Message:

Main: a few fixes for -Wunused -Wconversion

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestDnDPrivate.h

    r59834 r62370  
    242242    uint64_t addProcessed(uint32_t cbDataAdd)
    243243    {
    244         const uint64_t cbTotal = getTotal();
     244        const uint64_t cbTotal = getTotal(); NOREF(cbTotal);
    245245        Assert(cbProcessed + cbDataAdd <= cbTotal);
    246246        cbProcessed += cbDataAdd;
  • trunk/src/VBox/Main/include/GuestSessionImpl.h

    r58552 r62370  
    103103    {
    104104        int vrc = SessionTaskOpen::taskThread(NULL, this);
     105        NOREF(vrc);
    105106    }
    106107
     
    137138    {
    138139        int vrc = SessionTaskCopyTo::taskThread(NULL, this);
     140        NOREF(vrc);
    139141    }
    140142
     
    169171    {
    170172        int vrc = SessionTaskCopyFrom::taskThread(NULL, this);
     173        NOREF(vrc);
    171174    }
    172175
     
    199202    {
    200203        int vrc = SessionTaskUpdateAdditions::taskThread(NULL, this);
     204        NOREF(vrc);
    201205    }
    202206
  • trunk/src/VBox/Main/include/HGCMObjects.h

    r55401 r62370  
    9090        uint32_t Handle()
    9191        {
    92             return m_core.AvlCore.Key;
     92            return (uint32_t)m_core.AvlCore.Key;
    9393        };
    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