From 4e12c66fbe26b27cd7e4dc91f1035599962806b5 Mon Sep 17 00:00:00 2001 From: kn Date: Mon, 5 Apr 2021 00:51:14 +0000 Subject: [PATCH] Remove unused variables From Daniel Kovacic , thanks! No object change. --- bin/ps/print.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/ps/print.c b/bin/ps/print.c index 71d4a72a842..b92fb801096 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.75 2020/08/03 00:09:01 deraadt Exp $ */ +/* $OpenBSD: print.c,v 1.76 2021/04/05 00:51:14 kn Exp $ */ /* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */ /*- @@ -305,8 +305,7 @@ printstate(const struct kinfo_proc *kp, VARENT *ve) void printpledge(const struct kinfo_proc *kp, VARENT *ve) { - int flag, i; - char *cp, state = '\0'; + int i; VAR *v; char buf[1024]; -- 2.20.1