aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse_time.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
commitd679ea3129781ef564c1f91194104ce7692bb102 (patch)
tree966f69d63bd1c5b1229aa99ee4378e6e0f50e74d /src/parse_time.c
parentreopen state file, we will use flock on it, so all processes need their own open file descriptor for it (diff)
downloadsat-d679ea3129781ef564c1f91194104ce7692bb102.tar.gz
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.bz2
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.xz
fix errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/parse_time.c')
-rw-r--r--src/parse_time.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parse_time.c b/src/parse_time.c
index bb1b59e..d461efd 100644
--- a/src/parse_time.c
+++ b/src/parse_time.c
@@ -174,8 +174,6 @@ parse_time_time(const char *str, struct timespec *ts, const char **end)
static int
parse_time_seconds(const char *str, struct timespec *ts, const char **end)
{
- size_t points = 0;
-
memset(ts, 0, sizeof(*ts));
ts->tv_sec = strtotime(str, end);