server: Don't return a value from a void function.
This commit is contained in:
parent
68f2db299d
commit
548e18933b
|
@ -180,7 +180,7 @@ void get_selector_entry( struct thread *thread, int entry, unsigned int *base,
|
||||||
if (!pos)
|
if (!pos)
|
||||||
{
|
{
|
||||||
set_error( STATUS_ACCESS_DENIED );
|
set_error( STATUS_ACCESS_DENIED );
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
if ((fd = open_proc_as( thread->process, O_RDONLY )) == -1) return;
|
if ((fd = open_proc_as( thread->process, O_RDONLY )) == -1) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue