Author: sginsberg
Date: Fri Sep 11 20:42:49 2015
New Revision: 69188
URL:
http://svn.reactos.org/svn/reactos?rev=69188&view=rev
Log:
- Fix some broken stuff involving DPRINT. Thought I had tested this, sorry for build
break!
Modified:
trunk/reactos/drivers/ksfilter/ks/pin.c
trunk/reactos/drivers/storage/scsiport/scsiport.c
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
Modified: trunk/reactos/drivers/ksfilter/ks/pin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/pin.c?…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/pin.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/pin.c [iso-8859-1] Fri Sep 11 20:42:49 2015
@@ -2361,9 +2361,11 @@
if
(IsEqualGUIDAligned(&Descriptor->PinDescriptor.DataRanges[Index]->SubFormat,
&KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT))
{
+#if !defined(NDEBUG)
PKS_DATARANGE_BDA_TRANSPORT Transport =
(PKS_DATARANGE_BDA_TRANSPORT)&Descriptor->PinDescriptor.DataRanges[Index];
DPRINT("KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT AvgTimePerFrame %I64u
ulcbPhyiscalFrame %lu ulcbPhyiscalFrameAlignment %lu ulcbPhyiscalPacket %lu\n",
Transport->BdaTransportInfo.AvgTimePerFrame,
Transport->BdaTransportInfo.ulcbPhyiscalFrame,
Transport->BdaTransportInfo.ulcbPhyiscalFrameAlignment,
Transport->BdaTransportInfo.ulcbPhyiscalPacket);
+#endif
}
}
if (!FrameSize)
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] Fri Sep 11 20:42:49
2015
@@ -1026,7 +1026,6 @@
ULONG Result;
NTSTATUS Status;
ULONG MaxBus;
- ULONG BusNumber = 0;
PCI_SLOT_NUMBER SlotNumber;
PDEVICE_OBJECT PortDeviceObject;
@@ -1683,7 +1682,7 @@
if (!Again)
ConfigInfo.BusNumber++;
- DPRINT("Bus: %lu MaxBus: %lu\n", BusNumber, MaxBus);
+ DPRINT("Bus: %lu MaxBus: %lu\n", ConfigInfo.BusNumber, MaxBus);
DeviceFound = TRUE;
}
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] Fri Sep 11
20:42:49 2015
@@ -48,7 +48,6 @@
IN PWDMAUD_CLIENT ClientInfo)
{
ULONG Result = 0;
- NTSTATUS Status = STATUS_SUCCESS;
if (DeviceInfo->DeviceType == MIXER_DEVICE_TYPE)
{
@@ -75,7 +74,7 @@
/* store result count */
DeviceInfo->DeviceCount = Result;
- DPRINT("WdmAudControlDeviceType Status %x Devices %u\n", Status,
DeviceInfo->DeviceCount);
+ DPRINT("WdmAudControlDeviceType Devices %u\n",
DeviceInfo->DeviceCount);
return SetIrpIoStatus(Irp, STATUS_SUCCESS, sizeof(WDMAUD_DEVICE_INFO));
}
@@ -389,7 +388,6 @@
PVOID Ctx)
{
PKSSTREAM_HEADER Header;
- ULONG Length = 0;
PMDL Mdl, NextMdl;
PWDMAUD_COMPLETION_CONTEXT Context = (PWDMAUD_COMPLETION_CONTEXT)Ctx;
@@ -419,7 +417,7 @@
- DPRINT("IoCompletion Irp %p IoStatus %lx Information %lx Length %lu\n",
Irp, Irp->IoStatus.Status, Irp->IoStatus.Information, Length);
+ DPRINT("IoCompletion Irp %p IoStatus %lx Information %lx\n", Irp,
Irp->IoStatus.Status, Irp->IoStatus.Information);
if (!NT_SUCCESS(Irp->IoStatus.Status))
{