summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormcgreer%netscape.com <devnull@localhost>2000-05-17 17:31:20 +0000
committermcgreer%netscape.com <devnull@localhost>2000-05-17 17:31:20 +0000
commitcfa5feba243b962ee26b4a422017334527dc2aeb (patch)
tree19bc49aaad02e46fc2d0bd82ec9dfb62f489e55f
parentc4e4d40307f71cf60723a78a12d653fcc8c4c3db (diff)
downloadnss-hg-cfa5feba243b962ee26b4a422017334527dc2aeb.tar.gz
fix some compiler warnings
-rw-r--r--security/nss/lib/freebl/md2.c2
-rw-r--r--security/nss/lib/freebl/md5.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/security/nss/lib/freebl/md2.c b/security/nss/lib/freebl/md2.c
index e1a5fe0f4..3f7427c14 100644
--- a/security/nss/lib/freebl/md2.c
+++ b/security/nss/lib/freebl/md2.c
@@ -131,7 +131,7 @@ MD2_Begin(MD2Context *cx)
static void
md2_compress(MD2Context *cx)
{
- int j, k, l;
+ int j;
unsigned char P;
P = cx->checksum[MD2_CHECKSUM_SIZE-1];
/* Compute the running checksum, and set the tmp variables to be
diff --git a/security/nss/lib/freebl/md5.c b/security/nss/lib/freebl/md5.c
index f5caff9ed..b0c0ed6a0 100644
--- a/security/nss/lib/freebl/md5.c
+++ b/security/nss/lib/freebl/md5.c
@@ -315,7 +315,6 @@ MD5_Begin(MD5Context *cx)
static void
md5_compress(MD5Context *cx)
{
- int i;
PRUint32 a, b, c, d;
PRUint32 tmp;
a = cx->cv[0];
@@ -465,7 +464,6 @@ MD5_End(MD5Context *cx, unsigned char *digest,
PRUint32 tmp;
PRUint32 lowInput, highInput;
PRUint32 inBufIndex = cx->lsbInput & 63;
- int i;
if (maxDigestLen < MD5_HASH_LEN) {
PORT_SetError(SEC_ERROR_INVALID_ARGS);