summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 03:51:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 03:51:21 +0000
commitf26efe281b0627c9933a3c0a0154eab3d6e4b140 (patch)
tree98c5c4cebbc50f9cec5ac0853936a03032bd37fa /lib
parent81461bcd25c5b0d032bd0d62acfd23547ab31cfa (diff)
remove unused variable
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c
index d19a5c0aa2a..0b3ae27f7fa 100644
--- a/lib/libc/gen/exec.c
+++ b/lib/libc/gen/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.24 2021/09/22 20:40:06 deraadt Exp $ */
+/* $OpenBSD: exec.c,v 1.25 2023/09/06 03:51:20 jsg Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -161,7 +161,7 @@ execvpe(const char *name, char *const *argv, char *const *envp)
int eacces = 0;
char *bp, *cur, *path, buf[PATH_MAX];
size_t maplen;
- int save_errno, n;
+ int save_errno;
/*
* Do not allow null name