Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.

This commit is contained in:
bryner%netscape.com 2002-02-03 07:05:10 +00:00
Родитель 14bc10c2a2
Коммит 40ccb42c7c
4 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -102,7 +102,7 @@ nsObserverList::AddObserver(nsIObserver* anObserver, PRBool ownsWeak)
nsresult
nsObserverList::RemoveObserver(nsIObserver* anObserver)
{
PRBool removed;
PRBool removed = PR_FALSE;
NS_ENSURE_ARG(anObserver);

Просмотреть файл

@ -407,7 +407,7 @@ class nsAppDirectoryEnumerator : public nsISimpleEnumerator
return *result ? NS_OK : NS_ERROR_FAILURE;
}
~nsAppDirectoryEnumerator() // I don't expect to be subclassed
virtual ~nsAppDirectoryEnumerator()
{
}

Просмотреть файл

@ -99,6 +99,7 @@ public:
}
nsPipeInputStream() : mReaderRefCnt(0), mBlocking(PR_TRUE) {}
virtual ~nsPipeInputStream() { }
nsresult Fill();
protected:
@ -134,6 +135,7 @@ public:
}
nsPipeOutputStream() : mWriterRefCnt(0), mBlocking(PR_TRUE) {}
virtual ~nsPipeOutputStream() { }
protected:
nsrefcnt mWriterRefCnt; // separate refcnt so that we know when to close the producer

Просмотреть файл

@ -109,7 +109,7 @@ xptiZipLoader::EnumerateZipEntries(nsILocalFile* file,
do
{
PRBool result;
PRBool result = PR_FALSE;
int index = 0;
PRBool hasMore;