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;