VirtualBox

Changeset 63080 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 6, 2016 1:47:09 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109694
Message:

GA/NT/SharedFolders: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c

    r63079 r63080  
    4444static NTSTATUS VBoxMRxFsdDispatch(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
    4545{
    46     NTSTATUS Status = STATUS_SUCCESS;
     46    NTSTATUS Status;
     47#ifdef LOG_ENABLED
    4748    PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp);
    48 
    4949    Log(("VBOXSF: MRxFsdDispatch: major %d, minor %d: %s\n",
    5050         IrpSp->MajorFunction, IrpSp->MinorFunction, MajorFunctionString(IrpSp->MajorFunction, IrpSp->MinorFunction)));
     51#endif
    5152
    5253    if (DeviceObject != (PDEVICE_OBJECT)VBoxMRxDeviceObject)
     
    6364
    6465    Status = RxFsdDispatch((PRDBSS_DEVICE_OBJECT)VBoxMRxDeviceObject, Irp);
    65 
    66     Log(("VBOXSF: MRxFsdDispatch: Returned 0x%X\n",
    67          Status));
     66    Log(("VBOXSF: MRxFsdDispatch: Returned 0x%X\n", Status));
    6867    return Status;
    6968}
     
    604603NTSTATUS VBoxMRxIoCtl(IN OUT PRX_CONTEXT RxContext)
    605604{
    606     Log(("VBOXSF: MRxIoCtl: IoControlCode = 0x%08X\n",
    607         RxContext->LowIoContext.ParamsFor.FsCtl.FsControlCode));
     605    RT_NOREF(RxContext);
     606    Log(("VBOXSF: MRxIoCtl: IoControlCode = 0x%08X\n", RxContext->LowIoContext.ParamsFor.FsCtl.FsControlCode));
    608607    return STATUS_INVALID_DEVICE_REQUEST;
    609608}
     
    14561455NTSTATUS VBoxMRxQueryEaInfo(IN OUT PRX_CONTEXT RxContext)
    14571456{
    1458     Log(("VBOXSF: MRxQueryEaInfo: Ea buffer len remaining is %d\n",
    1459         RxContext->Info.LengthRemaining));
     1457    RT_NOREF(RxContext);
     1458    Log(("VBOXSF: MRxQueryEaInfo: Ea buffer len remaining is %d\n", RxContext->Info.LengthRemaining));
    14601459    return STATUS_SUCCESS;
    14611460}
     
    15101509    return STATUS_SUCCESS;
    15111510}
     1511
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