diff options
| author | mrg <mrg@NetBSD.org> | 2008-11-23 00:15:13 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2008-11-23 00:15:13 +0000 |
| commit | 56585a9fd3c00ffd0fcf9a10b4cc29bbc3e0e85b (patch) | |
| tree | 1bca5f59427808fde4f8ef055a123e0caa5028e0 /sys/compat/linux/common | |
| parent | 83146d79d663d53f1eb88dbb2ce7bc82dde0ceff (diff) | |
initialise a variable to avoid a GCC warning.
Diffstat (limited to 'sys/compat/linux/common')
| -rw-r--r-- | sys/compat/linux/common/linux_futex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_futex.c b/sys/compat/linux/common/linux_futex.c index 70a6dea8485..aa9d798e50b 100644 --- a/sys/compat/linux/common/linux_futex.c +++ b/sys/compat/linux/common/linux_futex.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_futex.c,v 1.20 2008/11/19 13:09:19 njoly Exp $ */ +/* $NetBSD: linux_futex.c,v 1.21 2008/11/23 00:15:13 mrg Exp $ */ /*- * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.20 2008/11/19 13:09:19 njoly Exp $"); +__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.21 2008/11/23 00:15:13 mrg Exp $"); #include <sys/param.h> #include <sys/time.h> @@ -583,7 +583,7 @@ void release_futexes(struct proc *p) { struct linux_robust_list_head *head = NULL; - struct linux_robust_list *entry, *next_entry, *pending; + struct linux_robust_list *entry, *next_entry = NULL, *pending; unsigned int limit = 2048, pi, next_pi, pip; struct linux_emuldata *led; unsigned long futex_offset; |
