VirtualBox

Ignore:
Timestamp:
Jul 29, 2016 1:30:27 PM (8 years ago)
Author:
vboxsync
Message:

HostDrivers: warnings

Location:
trunk/src/VBox/HostDrivers/VBoxUSB/win
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBInstall.cpp

    r62686 r62688  
    3535#include <VBox/VBoxDrvCfg-win.h>
    3636
    37 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char * msg, void * pvContext)
    38 {
     37static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext)
     38{
     39    RT_NOREF1(pvContext);
    3940    switch (enmSeverity)
    4041    {
     
    4344            break;
    4445        case VBOXDRVCFG_LOG_SEVERITY_REL:
    45             RTPrintf("%s", msg);
     46            RTPrintf("%s", pszMsg);
    4647            break;
    4748        default:
     
    5051}
    5152
    52 static DECLCALLBACK(void) vboxUsbPanic(void * pvPanic)
    53 {
     53static DECLCALLBACK(void) vboxUsbPanic(void *pvPanic)
     54{
     55    RT_NOREF1(pvPanic);
    5456#ifndef DEBUG_bird
    5557    AssertFailed();
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBUninstall.cpp

    r62686 r62688  
    3737int usblibOsDeleteService(void);
    3838
    39 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char * msg, void * pvContext)
    40 {
     39static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext)
     40{
     41    RT_NOREF1(pvContext);
    4142    switch (enmSeverity)
    4243    {
     
    4546            break;
    4647        case VBOXDRVCFG_LOG_SEVERITY_REL:
    47             printf("%s", msg);
     48            printf("%s", pszMsg);
    4849            break;
    4950        default:
     
    5253}
    5354
    54 static DECLCALLBACK(void) vboxUsbPanic(void * pvPanic)
    55 {
     55static DECLCALLBACK(void) vboxUsbPanic(void *pvPanic)
     56{
     57    RT_NOREF1(pvPanic);
    5658#ifndef DEBUG_bird
    5759    AssertFailed();
     
    6264int __cdecl main(int argc, char **argv)
    6365{
     66    RT_NOREF2(argc, argv);
    6467    printf("USB uninstallation\n");
    6568
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/testcase/USBTest.cpp

    r62686 r62688  
    305305{
    306306    int rc;
     307    RT_NOREF2(argc, argv);
    307308
    308309    printf("USB test\n");
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