Author: dgorbachev
Date: Wed Dec 3 11:39:55 2008
New Revision: 37835
URL:
http://svn.reactos.org/svn/reactos?rev=37835&view=rev
Log:
Remove stray semicolons, GCC gratias.
Modified:
trunk/reactos/dll/directx/ddraw/startup.c
trunk/reactos/dll/win32/setupapi/driver.c
trunk/reactos/lib/rtl/message.c
trunk/reactos/ntoskrnl/io/iomgr/controller.c
trunk/reactos/ntoskrnl/io/iomgr/remlock.c
Modified: trunk/reactos/dll/directx/ddraw/startup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/startup.…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/startup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ddraw/startup.c [iso-8859-1] Wed Dec 3 11:39:55 2008
@@ -136,7 +136,7 @@
{
DX_STUB_str("Got iface\n");
- if (StartDirectDraw((LPDIRECTDRAW)This, pGUID, FALSE) == DD_OK);
+ if (StartDirectDraw((LPDIRECTDRAW)This, pGUID, FALSE) == DD_OK)
{
/*
RtlZeroMemory(&wnd_class, sizeof(wnd_class));
Modified: trunk/reactos/dll/win32/setupapi/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/driver.…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/driver.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/driver.c [iso-8859-1] Wed Dec 3 11:39:55 2008
@@ -1537,7 +1537,7 @@
if (DriverInfoData != NULL)
{
if (DriverInfoData->cbSize != sizeof(SP_DRVINFO_DATA_V2_A) &&
- DriverInfoData->cbSize != sizeof(SP_DRVINFO_DATA_V1_A));
+ DriverInfoData->cbSize != sizeof(SP_DRVINFO_DATA_V1_A))
{
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
Modified: trunk/reactos/lib/rtl/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/message.c?rev=3783…
==============================================================================
--- trunk/reactos/lib/rtl/message.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/message.c [iso-8859-1] Wed Dec 3 11:39:55 2008
@@ -110,7 +110,7 @@
DPRINT("UnicodeText: %S\n", (PWSTR)MessageEntry->Text);
}
- if (MessageResourceEntry != NULL);
+ if (MessageResourceEntry != NULL)
{
*MessageResourceEntry = MessageEntry;
}
Modified: trunk/reactos/ntoskrnl/io/iomgr/controller.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/controll…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/controller.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/controller.c [iso-8859-1] Wed Dec 3 11:39:55 2008
@@ -36,7 +36,7 @@
/* Insert the Device Queue */
if (!KeInsertDeviceQueue(&ControllerObject->DeviceWaitQueue,
- &DeviceObject->Queue.Wcb.WaitQueueEntry));
+ &DeviceObject->Queue.Wcb.WaitQueueEntry))
{
/* Call the execution routine */
Result = ExecutionRoutine(DeviceObject,
Modified: trunk/reactos/ntoskrnl/io/iomgr/remlock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/remlock.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/remlock.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/remlock.c [iso-8859-1] Wed Dec 3 11:39:55 2008
@@ -114,7 +114,7 @@
}
/* Decrement the lock count */
- if (!InterlockedDecrement(&Lock->Common.IoCount));
+ if (!InterlockedDecrement(&Lock->Common.IoCount))
{
/* Signal the event */
KeSetEvent(&Lock->Common.RemoveEvent, IO_NO_INCREMENT, FALSE);