From a498daa0e0793ef0529b61ba1df31aeb9057d33c Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Mon, 16 Apr 2012 22:37:12 +0200
Subject: [PATCH] nss.c: fix compiler warning

---
 lib/nss.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/nss.c b/lib/nss.c
index e3298947f..6b9389343 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -882,10 +882,11 @@ isTLSIntoleranceError(PRInt32 err)
 static CURLcode nss_init_core(struct SessionHandle *data, const char *cert_dir)
 {
 #ifdef HAVE_NSS_INITCONTEXT
+  NSSInitParameters initparams;
+
   if(nss_context != NULL)
     return CURLE_OK;
 
-  NSSInitParameters initparams;
   memset((void *) &initparams, '\0', sizeof(initparams));
   initparams.length = sizeof(initparams);
 #else /* HAVE_NSS_INITCONTEXT */