Alexandre Julliard : server: Don't return a value from a void function.
Alexandre Julliard
julliard at winehq.org
Fri Jan 30 07:58:30 CST 2009
Module: wine
Branch: master
Commit: 548e18933b58c1eb8d60ed88541e498e91a954b7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=548e18933b58c1eb8d60ed88541e498e91a954b7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jan 30 14:04:56 2009 +0100
server: Don't return a value from a void function.
---
server/procfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/procfs.c b/server/procfs.c
index 28777d8..5978bbc 100644
--- a/server/procfs.c
+++ b/server/procfs.c
@@ -180,7 +180,7 @@ void get_selector_entry( struct thread *thread, int entry, unsigned int *base,
if (!pos)
{
set_error( STATUS_ACCESS_DENIED );
- return 0;
+ return;
}
if ((fd = open_proc_as( thread->process, O_RDONLY )) == -1) return;
More information about the wine-cvs
mailing list