diff --git a/netwerk/protocol/about/src/nsAboutBloat.cpp b/netwerk/protocol/about/src/nsAboutBloat.cpp index 1f1caf37a43b..32e830b1ca67 100644 --- a/netwerk/protocol/about/src/nsAboutBloat.cpp +++ b/netwerk/protocol/about/src/nsAboutBloat.cpp @@ -108,7 +108,6 @@ nsAboutBloat::NewChannel(const char *verb, dumpFileName += "all-"; else dumpFileName += "new-"; - PRTime now = PR_Now(); PRExplodedTime expTime; PR_ExplodeTime(PR_Now(), PR_LocalTimeParameters, &expTime); char time[128]; diff --git a/rdf/util/src/nsRDFResource.cpp b/rdf/util/src/nsRDFResource.cpp index 3c523e7d8175..5a01e5326419 100644 --- a/rdf/util/src/nsRDFResource.cpp +++ b/rdf/util/src/nsRDFResource.cpp @@ -40,8 +40,6 @@ nsRDFResource::nsRDFResource(void) nsRDFResource::~nsRDFResource(void) { - nsresult rv = NS_OK; - gRDFService->UnregisterResource(this); // N.B. that we need to free the URI *after* we un-cache the resource,