Bug 145031 - initialize CurItemMF to null to avoid uninitialized variable warning on tbox.

patch by Aleksey Nogin, r=mstoltz, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@126387 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mstoltz%netscape.com
2002-08-06 00:51:46 +00:00
parent d607b89fec
commit ddbf2cb746

View File

@@ -607,7 +607,7 @@ nsJAR::ParseOneFile(nsISignatureVerifier* verifier,
const char* curPos;
const char* sectionStart = nextLineStart;
nsJARManifestItem* curItemMF;
nsJARManifestItem* curItemMF = nsnull;
PRBool foundName = PR_FALSE;
if (aFileType == JAR_MF)
curItemMF = new nsJARManifestItem();