summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-09-25 13:01:22 +0000
committerJim Meyering <jim@meyering.net>2001-09-25 13:01:22 +0000
commit08575c4bce8ed78994b59572fee18d12b83b8e0d (patch)
tree1f21f021278a52eb9b7106126e5d74a534562c2a
parentcaa5ba0ca28a4999d528dbc6f76734a3a5b60f7d (diff)
downloadcoreutils-08575c4bce8ed78994b59572fee18d12b83b8e0d.tar.xz
(rpl_gettimeofday): Declare local variable `result'.
-rw-r--r--lib/gettimeofday.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c
index 59c565c78..f0c1d907c 100644
--- a/lib/gettimeofday.c
+++ b/lib/gettimeofday.c
@@ -60,6 +60,8 @@ int
rpl_gettimeofday (struct timeval *tv, struct timezone *tz)
{
struct tm save;
+ int result;
+
if (! localtime_buffer_addr)
abort ();