From e40a0023fad4435288eb5d70c05391ee7922763a Mon Sep 17 00:00:00 2001 From: krw Date: Sat, 11 Aug 2018 18:37:21 +0000 Subject: [PATCH] Nuke stray/pointless 'volatile' for local var. --- sbin/disklabel/disklabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 9a9f4130003..e1cda9e358a 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.229 2018/07/03 06:42:13 krw Exp $ */ +/* $OpenBSD: disklabel.c,v 1.230 2018/08/11 18:37:21 krw Exp $ */ /* * Copyright (c) 1987, 1993 @@ -517,7 +517,7 @@ scale(u_int64_t sz, char unit, struct disklabel *lp) void display_partition(FILE *f, struct disklabel *lp, int i, char unit) { - volatile struct partition *pp = &lp->d_partitions[i]; + struct partition *pp = &lp->d_partitions[i]; double p_size; p_size = scale(DL_GETPSIZE(pp), unit, lp); -- 2.20.1