diff options
author | 2018-08-11 18:37:21 +0000 | |
---|---|---|
committer | 2018-08-11 18:37:21 +0000 | |
commit | e40a0023fad4435288eb5d70c05391ee7922763a (patch) | |
tree | 30b407c17a95e56f6024d306c0960b7aa5cb9ae4 | |
parent | Get rid of PLEDGE_STAT, which was a hack used for unveil. (diff) | |
download | wireguard-openbsd-e40a0023fad4435288eb5d70c05391ee7922763a.tar.xz wireguard-openbsd-e40a0023fad4435288eb5d70c05391ee7922763a.zip |
Nuke stray/pointless 'volatile' for local var.
-rw-r--r-- | sbin/disklabel/disklabel.c | 4 |
1 files 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); |