configs: atmel: at91sam9260eknf: update defconfig
[buildroot-gz.git] / package / libnss / 0003-it-uninitialized-fix.patch
blob7736c6a939c8008e853d3f45e96d4d56baa53791
1 # HG changeset patch
2 # User catdesk <catdesk@tuta.io>
3 # Date 1477710600 -7200
4 # Sat Oct 29 05:10:00 2016 +0200
5 # Node ID b9ef971b94ab110302d49255339077bc1b4aed7f
6 # Parent eb8c96563cd70aa69d48b01516085f7d2fb46178
7 Bug 1313846 - Declare 'it = NULL' earlier. r=franziskus
9 [Thomas: patch taken from upstream mercurial repository, revision
10 12791.]
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 diff -r eb8c96563cd7 -r b9ef971b94ab lib/jar/jarfile.c
14 --- a/nss/lib/jar/jarfile.c Mon Oct 31 17:31:20 2016 +0100
15 +++ b/nss/lib/jar/jarfile.c Sat Oct 29 05:10:00 2016 +0200
16 @@ -657,7 +657,7 @@
17 jar_listzip(JAR *jar, JAR_FILE fp)
19 ZZLink *ent;
20 - JAR_Item *it;
21 + JAR_Item *it = NULL;
22 JAR_Physical *phy = NULL;
23 struct ZipLocal *Local = PORT_ZNew(struct ZipLocal);
24 struct ZipCentral *Central = PORT_ZNew(struct ZipCentral);