Hi,
I stumbled upon some compiler warnings in bin/.

This diff removes two unused variables in bin/ps/print.c.

I hope that such tiny contributions are welcome.
For me, it's a test of whether I am contributing the right way.

diff --git bin/ps/print.c bin/ps/print.c
index 71d4a72a842..c10d8aa0523 100644
--- bin/ps/print.c
+++ bin/ps/print.c
@@ -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];

Reply via email to