VirtualBox

Changeset 17929 in vbox for trunk/src/VBox/Main/linux


Ignore:
Timestamp:
Mar 16, 2009 1:09:36 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44497
Message:

Main: enabled -Wunused; fixed some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/HostHardwareLinux.cpp

    r16543 r17929  
    9090                                     const char *pszKey, const char *pszValue,
    9191                                     RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> *pMessage);
     92/*
    9293static int halFindDeviceStringMatchVector (DBusConnection *pConnection,
    9394                                           const char *pszKey,
    9495                                           const char *pszValue,
    9596                                           std::vector<std::string> *pMatches);
     97*/
    9698static int halGetPropertyStrings (DBusConnection *pConnection,
    9799                                  const char *pszUdi, size_t cKeys,
    98100                                  const char **papszKeys, char **papszValues,
    99101                                  RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> *pMessage);
     102/*
    100103static int halGetPropertyStringsVector (DBusConnection *pConnection,
    101104                                        const char *pszUdi, size_t cProps,
     
    103106                                        std::vector<std::string> *pMatches,
    104107                                        bool *pfMatches, bool *pfSuccess);
     108*/
    105109static int getDriveInfoFromHal(DriveInfoList *pList, bool isDVD,
    106110                               bool *pfSuccess);
     
    632636    if (halSuccess)
    633637    {
    634         dbus_bus_add_match (dbusConnection.get(), 
     638        dbus_bus_add_match (dbusConnection.get(),
    635639                            "type='signal',"
    636640                            "interface='org.freedesktop.Hal.Manager',"
     
    680684    if (halSuccess)
    681685    {
    682         dbus_bus_add_match (dbusConnection.get(), 
     686        dbus_bus_add_match (dbusConnection.get(),
    683687                            "type='signal',"
    684688                            "interface='org.freedesktop.Hal.Manager',"
     
    708712    autoDBusError dbusError;
    709713
    710     dbus_bus_remove_match (pConnection, 
     714    dbus_bus_remove_match (pConnection,
    711715                           "type='signal',"
    712716                           "interface='org.freedesktop.Hal.Manager',"
     
    730734    autoDBusError dbusError;
    731735
    732     dbus_bus_remove_match (pConnection, 
     736    dbus_bus_remove_match (pConnection,
    733737                           "type='signal',"
    734738                           "interface='org.freedesktop.Hal.Manager',"
     
    925929
    926930    RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> message, reply;
    927     DBusMessageIter iterGet, iterProps, iterKey, iterValue;
     931    DBusMessageIter iterGet, iterProps;
    928932
    929933    /* Initialise the return array to NULLs */
     
    12021206            USBDeviceInfo info (pszDevice, pszSysfsPath);
    12031207            bool ifaceSuccess = true;  /* If we can't get the interfaces, just
    1204                                         * skip this one device. */           
     1208                                        * skip this one device. */
    12051209            rc = getUSBInterfacesFromHal (&info.mInterfaces, pszUdi, &ifaceSuccess);
    12061210            if (RT_SUCCESS(rc) && halSuccess && ifaceSuccess)
     
    12871291            USBDeviceInfo info (pszDevice, pszSysfsPath);
    12881292            bool ifaceSuccess = false;  /* If we can't get the interfaces, just
    1289                                          * skip this one device. */           
     1293                                         * skip this one device. */
    12901294            rc = getUSBInterfacesFromHal (&info.mInterfaces, pszSysfsPath,
    12911295                                          &ifaceSuccess);
     
    14111415 */
    14121416/* static */
    1413 DBusHandlerResult dbusFilterFunction (DBusConnection *pConnection,
     1417DBusHandlerResult dbusFilterFunction (DBusConnection * /* pConnection */,
    14141418                                      DBusMessage *pMessage, void *pvUser)
    14151419{
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