diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2013-11-21 17:45:11 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2013-11-21 17:45:11 +0000 |
commit | da17fa50c332d404a377ce99e7e04f52cb96e5a5 (patch) | |
tree | b07616f5609ab7dd6c1977e10b26b63031694fde /lib | |
parent | b7e329cf5a70a64ce63375d6a45cdd1eb5415f9c (diff) |
remove dead assignment as reported by llvm.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/rthread_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread_file.c b/lib/librthread/rthread_file.c index b0e0327bbe6..50693b61aeb 100644 --- a/lib/librthread/rthread_file.c +++ b/lib/librthread/rthread_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_file.c,v 1.6 2013/06/01 23:06:26 tedu Exp $ */ +/* $OpenBSD: rthread_file.c,v 1.7 2013/11/21 17:45:10 fgsch Exp $ */ /* * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -182,7 +182,7 @@ void * The file is not locked, so this thread can * grab the lock: */ - p = do_lock(idx, fp); + do_lock(idx, fp); /* * The file is already locked, so check if the |