mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Fix Portcls release build by putting a variable inside a DBG #define as it is only used in an ASSERT()
svn path=/trunk/; revision=39729
This commit is contained in:
@@ -145,8 +145,9 @@ IPortFilterWaveCyclic_fnDeviceIoControl(
|
||||
PIO_STACK_LOCATION IoStack;
|
||||
ISubdevice *SubDevice = NULL;
|
||||
SUBDEVICE_DESCRIPTOR * Descriptor;
|
||||
|
||||
#if defined(DBG)
|
||||
IPortFilterWaveCyclicImpl * This = (IPortFilterWaveCyclicImpl *)iface;
|
||||
#endif
|
||||
|
||||
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
||||
ASSERT(IoStack->Parameters.DeviceIoControl.IoControlCode == IOCTL_KS_PROPERTY);
|
||||
|
||||
Reference in New Issue
Block a user