зеркало из https://github.com/mozilla/pjs.git
fix some warnings about initializing variables in constructors
This commit is contained in:
Родитель
c90171f651
Коммит
f72f0cb12f
|
@ -262,7 +262,7 @@ public:
|
|||
}
|
||||
|
||||
nsService(nsISupports* aServMgr, const char* aProgID, const nsIID& aIID, nsresult *rv)
|
||||
: mService(0)
|
||||
: mCID(), mService(0)
|
||||
{
|
||||
*rv = nsComponentManager::ProgIDToCLSID(aProgID, &mCID);
|
||||
NS_ASSERTION(NS_SUCCEEDED(*rv), "Couldn't get CLSID.");
|
||||
|
|
|
@ -262,7 +262,7 @@ public:
|
|||
}
|
||||
|
||||
nsService(nsISupports* aServMgr, const char* aProgID, const nsIID& aIID, nsresult *rv)
|
||||
: mService(0)
|
||||
: mCID(), mService(0)
|
||||
{
|
||||
*rv = nsComponentManager::ProgIDToCLSID(aProgID, &mCID);
|
||||
NS_ASSERTION(NS_SUCCEEDED(*rv), "Couldn't get CLSID.");
|
||||
|
|
Загрузка…
Ссылка в новой задаче