Removed an unsupported argument (-f)

This commit is contained in:
kipp%netscape.com 1999-10-13 14:43:04 +00:00
parent 48c216257e
commit 6034d32bb0
2 changed files with 1 additions and 6 deletions

View File

@ -51,7 +51,6 @@ leaky::leaky()
logFile = NULL;
progFile = NULL;
sortByFrequency = FALSE;
dumpLeaks = FALSE;
dumpGraph = FALSE;
dumpHTML = FALSE;
@ -109,7 +108,7 @@ void leaky::initialize(int argc, char** argv)
int arg;
int errflg = 0;
while ((arg = getopt(argc, argv, "adEe:fgh:i:r:Rs:tqx")) != -1) {
while ((arg = getopt(argc, argv, "adEe:gh:i:r:Rs:tqx")) != -1) {
switch (arg) {
case '?':
errflg++;
@ -130,9 +129,6 @@ void leaky::initialize(int argc, char** argv)
case 'e':
exclusions.add(optarg);
break;
case 'f':
sortByFrequency = TRUE;
break;
case 'g':
dumpGraph = TRUE;
if (dumpLeaks) errflg++;

View File

@ -85,7 +85,6 @@ struct leaky {
char* logFile;
char* progFile;
int sortByFrequency;
int dumpLeaks;
int dumpGraph;
int dumpHTML;