Author: netchild
Date: Wed Oct 6 07:34:41 2010
New Revision: 213471
URL: http://svn.freebsd.org/changeset/base/213471
Log:
Fix a comparision of an uninitialised pointer.
Submitted by: arundel
Found by: clang analysis (automatic service by uqs@)
Reviewed by: rdivacky
Modified:
head/sys/compat/linux/linux_futex.c
Modified: head/sys/compat/linux/linux_futex.c
==============================================================================
--- head/sys/compat/linux/linux_futex.c Wed Oct 6 07:22:56 2010
(r213470)
+++ head/sys/compat/linux/linux_futex.c Wed Oct 6 07:34:41 2010
(r213471)
@@ -431,7 +431,7 @@ linux_sys_futex(struct thread *td, struc
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;
/*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"