Fix warnings.

This commit is contained in:
Ben Laurie
2010-06-12 14:13:23 +00:00
parent 57ae37a003
commit c8bbd98a2b
53 changed files with 58 additions and 193 deletions

View File

@@ -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 */