mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix clang compile error in value.cpp
This commit is contained in:
@@ -2744,11 +2744,11 @@ void DTVAL::SetValue(int n)
|
|||||||
Tval = n;
|
Tval = n;
|
||||||
|
|
||||||
if (Pdtp) {
|
if (Pdtp) {
|
||||||
size_t n = 0, slen = (size_t)Len + 1;
|
size_t slen = (size_t)Len + 1;
|
||||||
struct tm tm, *ptm= GetGmTime(&tm);
|
struct tm tm, *ptm= GetGmTime(&tm);
|
||||||
|
|
||||||
if (ptm)
|
if (ptm)
|
||||||
n = strftime(Sdate, slen, Pdtp->OutFmt, ptm);
|
strftime(Sdate, slen, Pdtp->OutFmt, ptm);
|
||||||
|
|
||||||
} // endif Pdtp
|
} // endif Pdtp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user