Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/sys fix unused variable warnings.
details: https://anonhg.NetBSD.org/src/rev/9965e4d69dc0
branches: trunk
changeset: 451093:9965e4d69dc0
user: christos <christos%NetBSD.org@localhost>
date: Mon May 06 00:08:13 2019 +0000
description:
fix unused variable warnings.
diffstat:
tests/lib/libc/sys/t_ptrace_amd64_wait.h | 6 +++---
tests/lib/libc/sys/t_ptrace_i386_wait.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (62 lines):
diff -r 2d34f3b27071 -r 9965e4d69dc0 tests/lib/libc/sys/t_ptrace_amd64_wait.h
--- a/tests/lib/libc/sys/t_ptrace_amd64_wait.h Sun May 05 23:08:37 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_amd64_wait.h Mon May 06 00:08:13 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_amd64_wait.h,v 1.8 2019/05/05 18:16:39 mgorny Exp $ */
+/* $NetBSD: t_ptrace_amd64_wait.h,v 1.9 2019/05/06 00:08:13 christos Exp $ */
/*-
* Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -122,9 +122,9 @@
ATF_TC_BODY(x86_64_regs_gp_read, tc)
{
const int exitval = 5;
- const int sigval = SIGTRAP;
pid_t child, wpid;
#if defined(TWAIT_HAVE_STATUS)
+ const int sigval = SIGTRAP;
int status;
#endif
struct reg gpr;
@@ -209,9 +209,9 @@
ATF_TC_BODY(x86_64_regs_r8_read, tc)
{
const int exitval = 5;
- const int sigval = SIGTRAP;
pid_t child, wpid;
#if defined(TWAIT_HAVE_STATUS)
+ const int sigval = SIGTRAP;
int status;
#endif
struct reg gpr;
diff -r 2d34f3b27071 -r 9965e4d69dc0 tests/lib/libc/sys/t_ptrace_i386_wait.h
--- a/tests/lib/libc/sys/t_ptrace_i386_wait.h Sun May 05 23:08:37 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_i386_wait.h Mon May 06 00:08:13 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_i386_wait.h,v 1.6 2019/05/05 18:15:40 mgorny Exp $ */
+/* $NetBSD: t_ptrace_i386_wait.h,v 1.7 2019/05/06 00:08:13 christos Exp $ */
/*-
* Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -112,9 +112,9 @@
ATF_TC_BODY(i386_regs_gp_read, tc)
{
const int exitval = 5;
- const int sigval = SIGTRAP;
pid_t child, wpid;
#if defined(TWAIT_HAVE_STATUS)
+ const int sigval = SIGTRAP;
int status;
#endif
struct reg gpr;
@@ -185,9 +185,9 @@
ATF_TC_BODY(i386_regs_ebp_esp_read, tc)
{
const int exitval = 5;
- const int sigval = SIGTRAP;
pid_t child, wpid;
#if defined(TWAIT_HAVE_STATUS)
+ const int sigval = SIGTRAP;
int status;
#endif
struct reg gpr;
Home |
Main Index |
Thread Index |
Old Index