mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 333549: Unused variable tmpurl, patch by Ryan Flint <rflint@dslr.net>, r+sr=dveditz
This commit is contained in:
parent
0a378004b2
commit
37d1c0b865
@ -409,7 +409,6 @@ nsInstallPatch::NativePatch(nsIFile *sourceFile, nsIFile *patchFile, nsIFile **n
|
||||
nsresult rv;
|
||||
DIFFDATA *dd;
|
||||
PRInt32 status = GDIFF_ERR_MEM;
|
||||
char *tmpurl = NULL;
|
||||
//nsFileSpec *outFileSpec = new nsFileSpec;
|
||||
//nsFileSpec *tempSrcFile = new nsFileSpec; // TODO: do you need to free?
|
||||
nsCOMPtr<nsIFile> outFileSpec;
|
||||
@ -662,12 +661,6 @@ cleanup:
|
||||
PR_DELETE(dd);
|
||||
}
|
||||
|
||||
if ( tmpurl != NULL ) {
|
||||
//XP_FileRemove( tmpurl, xpURL );
|
||||
tmpurl = NULL;
|
||||
PR_DELETE( tmpurl );
|
||||
}
|
||||
|
||||
if (tempSrcFile)
|
||||
{
|
||||
tempSrcFile->Exists(&flagExists);
|
||||
|
Loading…
Reference in New Issue
Block a user