summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2013-11-21 17:45:10 +0000
committerfgsch <fgsch@openbsd.org>2013-11-21 17:45:10 +0000
commitadcf337f66bc37500480abfd481b9ce152c44752 (patch)
tree720f5ce0ca340e3769798d324dcd901b59cae81b /lib
parenthandle the fourth vararg value to sem_open (diff)
downloadwireguard-openbsd-adcf337f66bc37500480abfd481b9ce152c44752.tar.xz
wireguard-openbsd-adcf337f66bc37500480abfd481b9ce152c44752.zip
remove dead assignment as reported by llvm.
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/rthread_file.c4
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