From 9c0c764b13fc8e8cec7668f4cc9d6a10cb4ecbbc Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Wed, 13 Oct 1999 14:43:04 +0000 Subject: [PATCH] Removed an unsupported argument (-f) git-svn-id: svn://10.0.0.236/trunk@50598 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/leaky/leaky.cpp | 6 +----- mozilla/tools/leaky/leaky.h | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mozilla/tools/leaky/leaky.cpp b/mozilla/tools/leaky/leaky.cpp index 68729568779..ceb8111da2f 100644 --- a/mozilla/tools/leaky/leaky.cpp +++ b/mozilla/tools/leaky/leaky.cpp @@ -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++; diff --git a/mozilla/tools/leaky/leaky.h b/mozilla/tools/leaky/leaky.h index 636a5a0852c..ab28c3483c2 100644 --- a/mozilla/tools/leaky/leaky.h +++ b/mozilla/tools/leaky/leaky.h @@ -85,7 +85,6 @@ struct leaky { char* logFile; char* progFile; - int sortByFrequency; int dumpLeaks; int dumpGraph; int dumpHTML;