change return type to void to avoid warnings.

This commit is contained in:
dougt%netscape.com 1999-03-24 00:10:37 +00:00
parent 098bf287ca
commit 4d5f8d4995
2 changed files with 5 additions and 3 deletions

View File

@ -106,7 +106,7 @@ nsInstallInfo::nsInstallInfo(nsVector* fromURL, const nsString& arguments, const
}
void
nsInstallInfo::DeleteVector(nsVector* vector)
{
if (vector != nsnull)
@ -145,6 +145,7 @@ nsInstallInfo::~nsInstallInfo()
delete mFlags;
}
void
nsInstallInfo::MakeTempFile(nsString aURL, nsString& tempFileString)
{
// Checking to see if the url is local is a hack. I should see if

View File

@ -62,8 +62,9 @@ class nsInstallInfo
PRBool IsMultipleTrigger();
private:
DeleteVector(nsVector* vector);
MakeTempFile(nsString aURL, nsString& tempFileString);
void DeleteVector(nsVector* vector);
void MakeTempFile(nsString aURL, nsString& tempFileString);
nsString *mLocalFile;
nsString *mFromURL;