From 5e82f12acac0d2f51e7ae6a96d33a585bcb0f724 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 6 Oct 2010 07:34:41 +0000 Subject: [PATCH] Fix a comparision of an uninitialised pointer. Submitted by: arundel Found by: clang analysis (automatic service by uqs@) Reviewed by: rdivacky --- sys/compat/linux/linux_futex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 48422605599..69bc70ca088 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -431,7 +431,7 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args) int op_ret, val, ret, nrwake; struct linux_emuldata *em; struct waiting_proc *wp; - struct futex *f, *f2; + struct futex *f, *f2 = NULL; int error = 0; /*