Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel/arch/x86 Try to fix Clang/LLVM build
details: https://anonhg.NetBSD.org/src/rev/01953157296a
branches: trunk
changeset: 352454:01953157296a
user: kamil <kamil%NetBSD.org@localhost>
date: Sat Apr 01 23:28:02 2017 +0000
description:
Try to fix Clang/LLVM build
Initialize a local variable.
diffstat:
tests/kernel/arch/x86/t_ptrace_wait.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 916e625e2bc8 -r 01953157296a tests/kernel/arch/x86/t_ptrace_wait.c
--- a/tests/kernel/arch/x86/t_ptrace_wait.c Sat Apr 01 23:25:08 2017 +0000
+++ b/tests/kernel/arch/x86/t_ptrace_wait.c Sat Apr 01 23:28:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.7 2017/04/01 23:25:08 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.8 2017/04/01 23:28:02 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.7 2017/04/01 23:25:08 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.8 2017/04/01 23:28:02 kamil Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -412,7 +412,7 @@
#endif
struct dbreg r1;
size_t i;
- volatile int watchme;
+ volatile int watchme = 0;
union u dr7;
struct ptrace_siginfo info;
Home |
Main Index |
Thread Index |
Old Index