From 13f8e9567d4ab8c42258175d4466b504cfc53f24 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 6 Sep 2023 03:51:20 +0000 Subject: [PATCH] remove unused variable --- lib/libc/gen/exec.c | 4 ++-- 1 file 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 -- 2.20.1