From 55adf1d42a7d51f53b7486484b5e2c309204a19d Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 10 Aug 2018 17:03:26 +0000 Subject: [PATCH] delete volatile intended to silence whiny old compilers around vfork. This variable is only used in the parent context so there is no issue. ok kettenis --- lib/libutil/passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libutil/passwd.c b/lib/libutil/passwd.c index 911341cd803..cd2929428ea 100644 --- a/lib/libutil/passwd.c +++ b/lib/libutil/passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: passwd.c,v 1.54 2015/04/24 21:13:56 millert Exp $ */ +/* $OpenBSD: passwd.c,v 1.55 2018/08/10 17:03:26 deraadt Exp $ */ /* * Copyright (c) 1987, 1993, 1994, 1995 @@ -212,7 +212,7 @@ pw_edit(int notsetuid, const char *filename) { int pstat; char *p; - char * volatile editor; + char *editor; char *argp[] = {"sh", "-c", NULL, NULL}; if (!filename) { -- 2.20.1