Author: akhaldi
Date: Wed May 8 11:55:37 2013
New Revision: 58968
URL:
http://svn.reactos.org/svn/reactos?rev=58968&view=rev
Log:
[BEEP]
* Properly mark some unreferenced parameters as such.
[AFD]
* Properly fix a debug print specifier.
Modified:
trunk/reactos/drivers/base/beep/beep.c
trunk/reactos/drivers/network/afd/afd/info.c
Modified: trunk/reactos/drivers/base/beep/beep.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/beep/beep.c?r…
==============================================================================
--- trunk/reactos/drivers/base/beep/beep.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/beep/beep.c [iso-8859-1] Wed May 8 11:55:37 2013
@@ -38,6 +38,10 @@
{
PDEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
+ UNREFERENCED_PARAMETER(Dpc);
+ UNREFERENCED_PARAMETER(SystemArgument1);
+ UNREFERENCED_PARAMETER(SystemArgument2);
+
/* Stop the beep */
HalMakeBeep(0);
@@ -367,6 +371,8 @@
PDEVICE_OBJECT DeviceObject;
UNICODE_STRING DeviceName = RTL_CONSTANT_STRING(L"\\Device\\Beep");
NTSTATUS Status;
+
+ UNREFERENCED_PARAMETER(RegistryPath);
/* Create the device */
Status = IoCreateDevice(DriverObject,
Modified: trunk/reactos/drivers/network/afd/afd/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/in…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] Wed May 8 11:55:37 2013
@@ -116,7 +116,7 @@
_SEH2_TRY {
switch (InfoReq->InformationClass) {
case AFD_INFO_BLOCKING_MODE:
- AFD_DbgPrint(MID_TRACE,("Blocking mode set to %c\n",
InfoReq->Information.Boolean));
+ AFD_DbgPrint(MID_TRACE,("Blocking mode set to %u\n",
InfoReq->Information.Boolean));
FCB->NonBlocking = InfoReq->Information.Boolean;
break;
case AFD_INFO_INLINING_MODE: