VirtualBox

Changeset 103505 in vbox for trunk/src/libs/xpcom18a4/python


Ignore:
Timestamp:
Feb 21, 2024 7:25:15 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161848
Message:

libs/xpcom: Fix some unused variable warnings, bugref:3409

Location:
trunk/src/libs/xpcom18a4/python/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/python/src/ErrorUtils.cpp

    r103176 r103505  
    8080static const char *LOGGER_WARNING = "warning";
    8181static const char *LOGGER_ERROR = "error";
     82#ifdef DEBUG
    8283static const char *LOGGER_DEBUG = "debug";
     84#endif
    8385
    8486// Our "normal" error logger - calls back to the logging module.
  • trunk/src/libs/xpcom18a4/python/src/VariantUtils.cpp

    r103176 r103505  
    20152015                PRUint8 array_type = (PRUint8)PyInt_AsLong(td.extra);
    20162016                PRUint32 seq_size = GetSizeIs(index, PR_FALSE);
    2017                 nsXPTCVariant &ns_viid = m_var_array[td.argnum];
    2018                 nsIID iid;
    2019                 nsresult res = GetArrayElementIID(m_parent,
    2020                                                   m_var_array,
    2021                                                   m_methodindex,
    2022                                                   index,
    2023                                                   &iid);
     2017    nsIID iid;
     2018    nsresult res = GetArrayElementIID(m_parent,
     2019                                      m_var_array,
     2020                                      m_methodindex,
     2021                                      index,
     2022                                      &iid);
    20242023                ret = UnpackSingleArray(m_parent, * ((void **)ns_v.ptr),
    20252024                                        seq_size, array_type&XPT_TDP_TAGMASK,
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