Remove a few dead stores
diff --git a/library/ctr_drbg.c b/library/ctr_drbg.c
index 2ff0b33..9194d75 100644
--- a/library/ctr_drbg.c
+++ b/library/ctr_drbg.c
@@ -105,7 +105,7 @@
     unsigned char tmp[CTR_DRBG_SEEDLEN];
     unsigned char key[CTR_DRBG_KEYSIZE];
     unsigned char chain[CTR_DRBG_BLOCKSIZE];
-    unsigned char *p = buf, *iv;
+    unsigned char *p, *iv;
     aes_context aes_ctx;
 
     int i, j, buf_len, use_len;
diff --git a/library/rsa.c b/library/rsa.c
index b1ba19d..a2a4f8c 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -900,7 +900,6 @@
 
     md_free_ctx( &md_ctx );
 
-    msb = mpi_msb( &ctx->N ) - 1;
     sig[0] &= 0xFF >> ( olen * 8 - msb );
 
     p += hlen;
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 2ee46f9..2a8fced 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -1000,7 +1000,6 @@
         int ret = POLARSSL_ERR_SSL_FEATURE_UNAVAILABLE;
 
         padlen = 0;
-        enc_msglen = ssl->out_msglen;
 
         memcpy( add_data, ssl->out_ctr, 8 );
         add_data[8]  = ssl->out_msgtype;
diff --git a/library/x509parse.c b/library/x509parse.c
index 0e854a2..d3174c3 100644
--- a/library/x509parse.c
+++ b/library/x509parse.c
@@ -1155,8 +1155,6 @@
 
     memcpy( p, buf, buflen );
 
-    buflen = 0;
-
     crt->raw.p = p;
     crt->raw.len = len;
     end = p + len;