From: Oliver Graute <oliver.graute@neuhaus.de>
Date: Mon, 29 Mar 2016 10:11:43 +0200
Subject: [PATCH] fixed unitialized variable i

pinst.c: In function 'AddCertificate':
pinst.c:584:18: error: 'i' may be used uninitialized in this function [-Werror=maybe-uninitialized]
nickname = getUniquePEMNicknameFromFilename(certfile, i);

Index: /nss/lib/ckfw/pem/pinst.c
===================================================================
--- /nss/lib/ckfw/pem/pinst.c	2016-03-29 09:16:40.617666212 +0200
+++ /nss/lib/ckfw/pem/pinst.c	2016-03-29 09:17:14.754591533 +0200
@@ -536,7 +536,7 @@
 {
     pemInternalObject *o;
     CK_RV error = 0;
-    int objid, i;
+    int objid, i = 0;
     int nobjs = 0;
     SECItem **objs = NULL;
     char *ivstring = NULL;

