https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2284a457a36a9ce7e2b28…
commit 2284a457a36a9ce7e2b28bf38b6456ff0a6de471
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Nov 18 18:38:36 2017 +0100
[NTOSKRNL] Fix MSVC build: don't attempt to return in a void function
---
ntoskrnl/fsrtl/oplock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/fsrtl/oplock.c b/ntoskrnl/fsrtl/oplock.c
index 250f0fce3f..7ab457d399 100644
--- a/ntoskrnl/fsrtl/oplock.c
+++ b/ntoskrnl/fsrtl/oplock.c
@@ -63,7 +63,7 @@ FsRtlNotifyCompletion(IN PVOID Context,
DPRINT("FsRtlNotifyCompletion(%p, %p)\n", Context, Irp);
/* Just complete the IRP */
- return IoCompleteRequest(Irp, IO_DISK_INCREMENT);
+ IoCompleteRequest(Irp, IO_DISK_INCREMENT);
}
VOID