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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user