diff options
author | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
commit | c8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch) | |
tree | fe50b2de26e0f563ce0b21b88d80da407dbc7999 /crypto/rand/randfile.c | |
parent | 57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff) | |
download | openssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.zip openssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.gz openssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.bz2 |
Fix warnings.
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r-- | crypto/rand/randfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index 4ed40b7..678b0fe 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -269,7 +269,6 @@ err: const char *RAND_file_name(char *buf, size_t size) { char *s=NULL; - int ok = 0; #ifdef __OpenBSD__ struct stat sb; #endif @@ -298,7 +297,6 @@ const char *RAND_file_name(char *buf, size_t size) BUF_strlcat(buf,"/",size); #endif BUF_strlcat(buf,RFILE,size); - ok = 1; } else buf[0] = '\0'; /* no file name */ |