VirtualBox

Changeset 17911 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 16, 2009 10:30:55 AM (16 years ago)
Author:
vboxsync
Message:

#3686: “Main: fix unused var warnings”

  • Garbage collect; use NOREF(); comment out; (depending on situation)
Location:
trunk/include/VBox/com
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/ErrorInfo.h

    r13856 r17911  
    271271protected:
    272272
    273     ErrorInfo (bool aDummy)
     273    ErrorInfo (bool /* aDummy */)
    274274        : mIsBasicAvailable (false), mIsFullAvailable (false)
    275275        , mResultCode (S_OK)
  • trunk/include/VBox/com/SupportErrorInfo.h

    r14556 r17911  
    77
    88/*
    9  * Copyright (C) 2008 Sun Microsystems, Inc.
     9 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    149149    }
    150150
    151     MultiResult &operator= (const MultiResult &aThat)
     151    MultiResult &operator= (const MultiResult & /* aThat */)
    152152    {
    153153        /* We need this copy constructor only for GCC that wants to have
    154154         * it in case of expressions like |MultiResult rc = E_FAIL;|. But
    155155         * we assert since the optimizer should actually avoid the
    156          * temporary and call the other constructor directly instead */
     156         * temporary and call the other constructor directly instead. */
    157157        AssertFailed();
    158158        return *this;
  • trunk/include/VBox/com/ptr.h

    r13856 r17911  
    8787protected:
    8888
    89     static void addref (C *p) {}
    90     static void release (C *p) {}
     89    static void addref  (C * /* p */) {}
     90    static void release (C * /* p */) {}
    9191};
    9292
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