diff options
author | netchild <netchild@FreeBSD.org> | 2010-10-06 07:34:41 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2010-10-06 07:34:41 +0000 |
commit | 77b4c590d778c2536f430482087b6e459e9bb543 (patch) | |
tree | b401f418ac18b7bae0aefa79445e29ac8319f6a5 /sys/compat/linux | |
parent | 77748dfb9cdb50d669f1b1349c8f46e1fe49d96b (diff) | |
download | FreeBSD-src-77b4c590d778c2536f430482087b6e459e9bb543.zip FreeBSD-src-77b4c590d778c2536f430482087b6e459e9bb543.tar.gz |
Fix a comparision of an uninitialised pointer.
Submitted by: arundel
Found by: clang analysis (automatic service by uqs@)
Reviewed by: rdivacky
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_futex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 4842260..69bc70c 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; /* |