aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-11 09:49:23 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-11 09:49:23 +0200
commite6ba0487013085afc5bc1ca7d7c8a15a13367ba6 (patch)
treebadbeb74cc6a930cfef457fe8e3bdefc1e284e96 /lib
parent71813f5e46d99ec19685a7359a40bbc3076b16c2 (diff)
nss.c: Fixed warning: 'err' may be used uninitialized in this function
Diffstat (limited to 'lib')
-rw-r--r--lib/nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss.c b/lib/nss.c
index f39de3bad..56290f4b7 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -1171,7 +1171,7 @@ static CURLcode nss_load_ca_certificates(struct connectdata *conn,
CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
{
- PRInt32 err;
+ PRErrorCode err = 0;
PRFileDesc *model = NULL;
PRBool ssl2 = PR_FALSE;
PRBool ssl3 = PR_FALSE;