remove an unused variable and add a const

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10175 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-06-23 22:33:10 +00:00
parent 2ab0ebbe0a
commit 05b44561ca

View File

@@ -2664,7 +2664,6 @@ static int
seed_something(void) seed_something(void)
{ {
int fd = -1; int fd = -1;
size_t len;
char buf[1024], seedfile[256]; char buf[1024], seedfile[256];
/* If there is a seed file, load it. But such a file cannot be trusted, /* If there is a seed file, load it. But such a file cannot be trusted,
@@ -2684,7 +2683,7 @@ seed_something(void)
we do not have to deal with it. */ we do not have to deal with it. */
if (RAND_status() != 1) { if (RAND_status() != 1) {
krb5_context context; krb5_context context;
char *p; const char *p;
/* Try using egd */ /* Try using egd */
if (!krb5_init_context(&context)) { if (!krb5_init_context(&context)) {