Fix warning on MinGW and MSVC12
diff --git a/library/ctr_drbg.c b/library/ctr_drbg.c
index 9194d75..aec29b9 100644
--- a/library/ctr_drbg.c
+++ b/library/ctr_drbg.c
@@ -448,7 +448,7 @@
     { 0xa0, 0x54, 0x30, 0x3d, 0x8a, 0x7e, 0xa9, 0x88,
       0x9d, 0x90, 0x3e, 0x07, 0x7c, 0x6f, 0x21, 0x8f };
 
-int test_offset;
+static size_t test_offset;
 int ctr_drbg_self_test_entropy( void *data, unsigned char *buf, size_t len )
 {
     unsigned char *p = data;
diff --git a/library/net.c b/library/net.c
index 3e14466..6333b0f 100644
--- a/library/net.c
+++ b/library/net.c
@@ -223,6 +223,7 @@
  */
 static int net_would_block( int fd )
 {
+    ((void) fd);
     return( WSAGetLastError() == WSAEWOULDBLOCK );
 }
 #else