Commit 1c4b917f authored by Olivier Bertrand's avatar Olivier Bertrand

Fix clang compile error in value.cpp

parent 7863554e
......@@ -2744,11 +2744,11 @@ void DTVAL::SetValue(int n)
Tval = n;
if (Pdtp) {
size_t n = 0, slen = (size_t)Len + 1;
size_t slen = (size_t)Len + 1;
struct tm tm, *ptm= GetGmTime(&tm);
if (ptm)
n = strftime(Sdate, slen, Pdtp->OutFmt, ptm);
strftime(Sdate, slen, Pdtp->OutFmt, ptm);
} // endif Pdtp
......
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