From bc86f401e736429ed9f50036e72b80370509236f Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Tue, 4 May 1999 22:33:10 +0000 Subject: [PATCH] back out my warning fix (proper fix on the way) --- xpcom/components/nsIServiceManager.h | 2 +- xpcom/public/nsIServiceManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/components/nsIServiceManager.h b/xpcom/components/nsIServiceManager.h index 5579f5c00dfd..2b65e1466bc7 100644 --- a/xpcom/components/nsIServiceManager.h +++ b/xpcom/components/nsIServiceManager.h @@ -262,7 +262,7 @@ public: } nsService(nsISupports* aServMgr, const char* aProgID, const nsIID& aIID, nsresult *rv) - : mCID(), mService(0) + : mService(0) { *rv = nsComponentManager::ProgIDToCLSID(aProgID, &mCID); NS_ASSERTION(NS_SUCCEEDED(*rv), "Couldn't get CLSID."); diff --git a/xpcom/public/nsIServiceManager.h b/xpcom/public/nsIServiceManager.h index 5579f5c00dfd..2b65e1466bc7 100644 --- a/xpcom/public/nsIServiceManager.h +++ b/xpcom/public/nsIServiceManager.h @@ -262,7 +262,7 @@ public: } nsService(nsISupports* aServMgr, const char* aProgID, const nsIID& aIID, nsresult *rv) - : mCID(), mService(0) + : mService(0) { *rv = nsComponentManager::ProgIDToCLSID(aProgID, &mCID); NS_ASSERTION(NS_SUCCEEDED(*rv), "Couldn't get CLSID.");