hide stat buf init on windows
authorKen Raeburn <raeburn@mit.edu>
Wed, 11 Feb 2009 00:53:00 +0000 (00:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 11 Feb 2009 00:53:00 +0000 (00:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21960 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/rcache/rc_io.c

index 683e1a907725e9471307d1d6e47b3a7d3a145c11..02a45a4552349aa535b8d5f5a6527333d504ac4b 100644 (file)
@@ -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;