mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 145031 - initialize CurItemMF to null to avoid uninitialized variable warning on tbox.
patch by Aleksey Nogin, r=mstoltz, sr=dveditz.
This commit is contained in:
parent
a5b61ee54c
commit
12d316ab6a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user