* callback.c (os_fstat): Don't declare 't' unless it's used.
This commit is contained in:
parent
26bf4e3302
commit
0c4507fdbe
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-02-21 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* callback.c (os_fstat): Don't declare 't' unless it's used.
|
||||
|
||||
2005-02-09 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* Make-common.in (CGEN): Load guile.scm, and include a trailing
|
||||
|
|
|
@ -534,7 +534,9 @@ os_fstat (p, fd, buf)
|
|||
|
||||
if (p->ispipe[fd])
|
||||
{
|
||||
#if defined (HAVE_STRUCT_STAT_ST_ATIME) || defined (HAVE_STRUCT_STAT_ST_CTIME) || defined (HAVE_STRUCT_STAT_ST_MTIME)
|
||||
time_t t = (*p->time) (p, NULL);
|
||||
#endif
|
||||
|
||||
/* We have to fake the struct stat contents, since the pipe is
|
||||
made up in the simulator. */
|
||||
|
|
Loading…
Reference in a new issue