Re: Fix Sparse Warnings for server/ (Try 2)
25 May
2005
25 May
'05
1:35 p.m.
Robert Shearman <rob(a)codeweavers.com> writes:
--- server/fd.c 24 Apr 2005 17:35:52 -0000 1.37 +++ server/fd.c 24 May 2005 18:37:28 -0000 @@ -898,18 +898,6 @@ static void remove_lock( struct file_loc release_object( lock ); }
-/* remove all locks owned by a given process */ -void remove_process_locks( struct process *process ) -{ - struct list *ptr; - - while ((ptr = list_head( &process->locks ))) - { - struct file_lock *lock = LIST_ENTRY( ptr, struct file_lock, proc_entry ); - remove_lock( lock, 1 ); /* this removes it from the list */ - } -} -
Something's not right, that function should be used somewhere. -- Alexandre Julliard julliard(a)winehq.org
7596
Age (days ago)
7596
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard