mt: Remove a set but unused variable.

The variable is unused because the -v (verbose) flag to
'mt getdensity' is a no-op.

Reported by:	GCC
Reviewed by:	ken
Differential Revision:	https://reviews.freebsd.org/D40653
This commit is contained in:
John Baldwin 2023-06-20 12:32:18 -07:00
parent 8144db85fe
commit 9a55543f8e

View file

@ -1555,14 +1555,14 @@ mt_getdensity(int argc, char **argv, char *xml_str,
struct mt_status_data *status_data)
{
int retval = 0;
int verbose = 0, xml_dump = 0;
int xml_dump = 0;
struct mt_status_entry *density_root = NULL;
int c;
while ((c = getopt(argc, argv, "vx")) != -1) {
switch (c) {
case 'v':
verbose = 1;
/* Ignore. */
break;
case 'x':
xml_dump = 1;