From: Ken Raeburn Date: Wed, 11 Feb 2009 00:53:00 +0000 (+0000) Subject: hide stat buf init on windows X-Git-Tag: krb5-1.8-alpha1~653 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c9b01df61d1cfb1c3c87700dd2d1cc479d03966;p=krb5.git hide stat buf init on windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21960 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/rcache/rc_io.c b/src/lib/krb5/rcache/rc_io.c index 683e1a907..02a45a455 100644 --- a/src/lib/krb5/rcache/rc_io.c +++ b/src/lib/krb5/rcache/rc_io.c @@ -80,9 +80,9 @@ krb5_rc_io_mkstemp(krb5_context context, krb5_rc_iostuff *d, char *dir) krb5_error_code retval = 0; #if HAVE_SYS_STAT_H struct stat stbuf; -#endif memset(&stbuf, 0, sizeof(stbuf)); +#endif if (asprintf(&d->fn, "%s%skrb5_RCXXXXXX", dir, PATH_SEPARATOR) < 0) { d->fn = NULL;