VirtualBox

Ignore:
Timestamp:
Aug 2, 2016 1:45:23 PM (8 years ago)
Author:
vboxsync
Message:

ValidationKit: warnings.

Location:
trunk/src/VBox/ValidationKit/utils/usb
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestService.cpp

    r62471 r62872  
    467467}
    468468
     469#if 0 /* unused */
    469470/**
    470471 * Signal a bad packet minum size.
     
    480481                           cbMin, pPktHdr->cb, pPktHdr->achOpcode);
    481482}
     483#endif
    482484
    483485/**
     
    495497}
    496498
     499#if 0 /* unused */
    497500/**
    498501 * Deals with a command that isn't implemented yet.
     
    505508    return utsReplyFailure(pClient, pPktHdr, "NOT IMPL", VERR_NOT_IMPLEMENTED, "Opcode '%.8s' is not implemented", pPktHdr->achOpcode);
    506509}
     510#endif
    507511
    508512/**
     
    10741078static DECLCALLBACK(int) utsClientWorker(RTTHREAD hThread, void *pvUser)
    10751079{
    1076     unsigned   cClientsMax = 0;
    1077     unsigned   cClientsCur = 0;
    1078     PUTSCLIENT *papClients = NULL;
    1079     RTPOLLSET hPollSet;
     1080    RT_NOREF2(hThread, pvUser);
     1081    unsigned    cClientsMax = 0;
     1082    unsigned    cClientsCur = 0;
     1083    PUTSCLIENT *papClients  = NULL;
     1084    RTPOLLSET   hPollSet;
    10801085
    10811086    int rc = RTPollSetCreate(&hPollSet);
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceGadgetHostUsbIp.cpp

    r62471 r62872  
    7878static int usbGadgetHostUsbIpBindUnbind(PUTSGADGETHOSTTYPEINT pThis, UTSGADGET hGadget, bool fBind)
    7979{
     80    RT_NOREF1(pThis);
    8081    uint32_t uBusId, uDevId;
    8182    char aszBus[32];
     
    194195{
    195196    /* Nothing to do so far. */
     197    RT_NOREF2(pIf, hGadget);
    196198    return VINF_SUCCESS;
    197199}
     
    204206{
    205207    /* Nothing to do so far. */
     208    RT_NOREF2(pIf, hGadget);
    206209    return VINF_SUCCESS;
    207210}
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceProtocol.cpp

    r60287 r62872  
    9999DECLHIDDEN(void) utsProtocolReqN2H(PUTSPKTHDR pPktHdr)
    100100{
    101 
     101    RT_NOREF1(pPktHdr);
    102102}
    103103
     
    105105DECLHIDDEN(void) utsProtocolRepH2N(PUTSPKTSTS pPktHdr)
    106106{
    107 
     107    RT_NOREF1(pPktHdr);
    108108}
    109109
     
    111111DECLHIDDEN(void) utsProtocolRepN2H(PUTSPKTSTS pPktHdr)
    112112{
    113 
     113    RT_NOREF1(pPktHdr);
    114114}
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceTcp.cpp

    r62471 r62872  
    8888/** Pointer to the TCP server instance. */
    8989static PRTTCPSERVER         g_pTcpServer            = NULL;
     90#if 0 /* unused */
    9091/** Stop connecting attempts when set. */
    9192static bool                 g_fTcpStopConnecting    = false;
     93#endif
    9294
    9395
     
    175177{
    176178    /* nothing to do here */
     179    RT_NOREF1(pClient);
    177180}
    178181
     
    360363static DECLCALLBACK(int) utsTcpPollSetRemove(RTPOLLSET hPollSet, PUTSTRANSPORTCLIENT pClient, uint32_t idStart)
    361364{
     365    RT_NOREF1(pClient);
    362366    return RTPollSetRemove(hPollSet, idStart);
    363367}
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