Commit 00974bca by Edward Thomson

date: use GIT_ASSERT

parent e7604da8
......@@ -881,7 +881,8 @@ int git__date_rfc2822_fmt(char *out, size_t len, const git_time *date)
struct tm gmt;
time_t t;
assert(out && date);
GIT_ASSERT_ARG(out);
GIT_ASSERT_ARG(date);
t = (time_t) (date->time + date->offset * 60);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment