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;
Show replies by date