Make leaksoup not print static ctor/dtor warnings.

This commit is contained in:
L. David Baron 2011-04-22 18:36:23 -07:00
parent 7eb858b4c6
commit 5595712db2

View File

@ -42,6 +42,7 @@
#include "nsVoidArray.h"
#include "nsQuickSort.h"
#include "nsXPCOM.h"
/*
* Read in an allocation dump, presumably one taken at shutdown (using
@ -132,6 +133,8 @@ int main(int argc, char **argv)
return 1;
}
NS_InitXPCOM2(NULL, NULL, NULL);
ADLog log;
if (!log.Read(argv[1])) {
fprintf(stderr,
@ -434,5 +437,7 @@ int main(int argc, char **argv)
delete [] sorted_nodes;
delete [] nodes;
NS_ShutdownXPCOM(NULL);
return 0;
}