summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfeed.c b/sfeed.c
index 2e9c364..6b4a423 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -648,9 +648,9 @@ parsetime(const char *s, long long *tp)
va[5] < 0 || va[5] > 60) /* allow leap second */
return -1;
- if (tp)
- *tp = datetounix(va[0] - 1900, va[1] - 1, va[2], va[3], va[4], va[5]) -
- gettzoffset(s);
+ *tp = datetounix(va[0] - 1900, va[1] - 1, va[2], va[3], va[4], va[5]) -
+ gettzoffset(s);
+
return 0;
}