units: Remove set but unused variable.
Reported by: GCC
This commit is contained in:
parent
1291d48f06
commit
ee0299e5f3
@ -763,11 +763,9 @@ main(int argc, char **argv)
|
|||||||
EditLine *el;
|
EditLine *el;
|
||||||
HistEvent ev;
|
HistEvent ev;
|
||||||
int inputsz;
|
int inputsz;
|
||||||
char const * history_file;
|
|
||||||
|
|
||||||
quiet = false;
|
quiet = false;
|
||||||
readfile = false;
|
readfile = false;
|
||||||
history_file = NULL;
|
|
||||||
outputformat = numfmt;
|
outputformat = numfmt;
|
||||||
quit = false;
|
quit = false;
|
||||||
while ((optchar = getopt_long(argc, argv, "+ehf:o:qtvH:UV", longopts, NULL)) != -1) {
|
while ((optchar = getopt_long(argc, argv, "+ehf:o:qtvH:UV", longopts, NULL)) != -1) {
|
||||||
@ -783,7 +781,7 @@ main(int argc, char **argv)
|
|||||||
readunits(optarg);
|
readunits(optarg);
|
||||||
break;
|
break;
|
||||||
case 'H':
|
case 'H':
|
||||||
history_file = optarg;
|
/* Ignored, for compatibility with GNU units. */
|
||||||
break;
|
break;
|
||||||
case 'q':
|
case 'q':
|
||||||
quiet = true;
|
quiet = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user