mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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:
parent
8144db85fe
commit
9a55543f8e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue