Changeset 17929 in vbox
- Timestamp:
- Mar 16, 2009 1:09:36 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r17913 r17929 3199 3199 ComSafeArrayIn(IN_BSTR, argExtraConfigValues)) 3200 3200 { 3201 NOREF(aEnabledSize); 3202 3203 CheckComArgSafeArrayNotNull(aEnabled); 3201 3204 CheckComArgSafeArrayNotNull(argVboxValues); 3202 3205 CheckComArgSafeArrayNotNull(argExtraConfigValues); … … 3492 3495 strVbox); 3493 3496 } 3494 else 3497 else 3495 3498 throw rc; 3496 3499 } -
trunk/src/VBox/Main/Makefile.kmk
r17915 r17929 199 199 $(if $(VBOX_WITH_DBUS),VBOX_WITH_DBUS,) \ 200 200 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) 201 202 VBoxSVC_CXXFLAGS = $(filter-out -Wno-unused,$(TEMPLATE_VBOXMAINEXE_CXXFLAGS)) 201 203 202 204 ifdef VBOX_WITH_USB -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r17913 r17929 717 717 VirtualBox::COMGETTER(SharedFolders) (ComSafeArrayOut (ISharedFolder *, aSharedFolders)) 718 718 { 719 NOREF(aSharedFoldersSize); 720 719 721 CheckComArgOutSafeArrayPointerValid(aSharedFolders); 720 722 -
trunk/src/VBox/Main/generic/NetIf-generic.cpp
r17835 r17929 78 78 } 79 79 80 int NetIfEnableStaticIpConfig(VirtualBox * vBox, HostNetworkInterface * pIf, ULONG ip, ULONG mask)80 int NetIfEnableStaticIpConfig(VirtualBox * /* vBox */, HostNetworkInterface * pIf, ULONG ip, ULONG mask) 81 81 { 82 82 char szAddress[16]; /* 4*3 + 3*1 + 1 */ … … 91 91 } 92 92 93 int NetIfEnableStaticIpConfigV6(VirtualBox * vBox, HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)93 int NetIfEnableStaticIpConfigV6(VirtualBox * /* vBox */, HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength) 94 94 { 95 95 char szAddress[5*8 + 1 + 5 + 1]; … … 99 99 } 100 100 101 int NetIfEnableDynamicIpConfig(VirtualBox * vBox, HostNetworkInterface * pIf)101 int NetIfEnableDynamicIpConfig(VirtualBox * /* vBox */, HostNetworkInterface * /* pIf */) 102 102 { 103 103 return VERR_NOT_IMPLEMENTED; 104 104 } 105 105 106 int NetIfCreateHostOnlyNetworkInterface (VirtualBox * pVbox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress)106 int NetIfCreateHostOnlyNetworkInterface (VirtualBox * /* pVbox */, IHostNetworkInterface ** /* aHostNetworkInterface */, IProgress ** /* aProgress */) 107 107 { 108 108 return VERR_NOT_IMPLEMENTED; 109 109 } 110 110 111 int NetIfRemoveHostOnlyNetworkInterface (VirtualBox * pVbox, IN_GUID aId, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress)111 int NetIfRemoveHostOnlyNetworkInterface (VirtualBox * /* pVbox */, IN_GUID /* aId */, IHostNetworkInterface ** /* aHostNetworkInterface */, IProgress ** /* aProgress */) 112 112 { 113 113 return VERR_NOT_IMPLEMENTED; 114 114 } 115 115 116 int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *)116 int NetIfGetConfig(HostNetworkInterface * /* pIf */, NETIFINFO *) 117 117 { 118 118 return VERR_NOT_IMPLEMENTED; 119 119 } 120 120 121 int NetIfDhcpRediscover(VirtualBox * pVbox, HostNetworkInterface * pIf)121 int NetIfDhcpRediscover(VirtualBox * /* pVbox */, HostNetworkInterface * /* pIf */) 122 122 { 123 123 return VERR_NOT_IMPLEMENTED; -
trunk/src/VBox/Main/linux/HostHardwareLinux.cpp
r16543 r17929 90 90 const char *pszKey, const char *pszValue, 91 91 RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> *pMessage); 92 /* 92 93 static int halFindDeviceStringMatchVector (DBusConnection *pConnection, 93 94 const char *pszKey, 94 95 const char *pszValue, 95 96 std::vector<std::string> *pMatches); 97 */ 96 98 static int halGetPropertyStrings (DBusConnection *pConnection, 97 99 const char *pszUdi, size_t cKeys, 98 100 const char **papszKeys, char **papszValues, 99 101 RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> *pMessage); 102 /* 100 103 static int halGetPropertyStringsVector (DBusConnection *pConnection, 101 104 const char *pszUdi, size_t cProps, … … 103 106 std::vector<std::string> *pMatches, 104 107 bool *pfMatches, bool *pfSuccess); 108 */ 105 109 static int getDriveInfoFromHal(DriveInfoList *pList, bool isDVD, 106 110 bool *pfSuccess); … … 632 636 if (halSuccess) 633 637 { 634 dbus_bus_add_match (dbusConnection.get(), 638 dbus_bus_add_match (dbusConnection.get(), 635 639 "type='signal'," 636 640 "interface='org.freedesktop.Hal.Manager'," … … 680 684 if (halSuccess) 681 685 { 682 dbus_bus_add_match (dbusConnection.get(), 686 dbus_bus_add_match (dbusConnection.get(), 683 687 "type='signal'," 684 688 "interface='org.freedesktop.Hal.Manager'," … … 708 712 autoDBusError dbusError; 709 713 710 dbus_bus_remove_match (pConnection, 714 dbus_bus_remove_match (pConnection, 711 715 "type='signal'," 712 716 "interface='org.freedesktop.Hal.Manager'," … … 730 734 autoDBusError dbusError; 731 735 732 dbus_bus_remove_match (pConnection, 736 dbus_bus_remove_match (pConnection, 733 737 "type='signal'," 734 738 "interface='org.freedesktop.Hal.Manager'," … … 925 929 926 930 RTMemAutoPtr <DBusMessage, VBoxDBusMessageUnref> message, reply; 927 DBusMessageIter iterGet, iterProps , iterKey, iterValue;931 DBusMessageIter iterGet, iterProps; 928 932 929 933 /* Initialise the return array to NULLs */ … … 1202 1206 USBDeviceInfo info (pszDevice, pszSysfsPath); 1203 1207 bool ifaceSuccess = true; /* If we can't get the interfaces, just 1204 * skip this one device. */ 1208 * skip this one device. */ 1205 1209 rc = getUSBInterfacesFromHal (&info.mInterfaces, pszUdi, &ifaceSuccess); 1206 1210 if (RT_SUCCESS(rc) && halSuccess && ifaceSuccess) … … 1287 1291 USBDeviceInfo info (pszDevice, pszSysfsPath); 1288 1292 bool ifaceSuccess = false; /* If we can't get the interfaces, just 1289 * skip this one device. */ 1293 * skip this one device. */ 1290 1294 rc = getUSBInterfacesFromHal (&info.mInterfaces, pszSysfsPath, 1291 1295 &ifaceSuccess); … … 1411 1415 */ 1412 1416 /* static */ 1413 DBusHandlerResult dbusFilterFunction (DBusConnection * pConnection,1417 DBusHandlerResult dbusFilterFunction (DBusConnection * /* pConnection */, 1414 1418 DBusMessage *pMessage, void *pvUser) 1415 1419 { -
trunk/src/VBox/Main/xpcom/server.cpp
r17865 r17929 774 774 }; 775 775 776 static void signal_handler (int sig)776 static void signal_handler (int /* sig */) 777 777 { 778 778 if (gEventQ && gKeepRunning)
Note:
See TracChangeset
for help on using the changeset viewer.