diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2021-06-25 18:35:26 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2021-06-25 18:35:26 +0200 |
commit | 1c4b917f0e82081950ca256fd7698dab8f4722e6 (patch) | |
tree | 32f321e8b5c657233814abdd98d65bd44a70710b | |
parent | 7863554e429d008c88ceff9d48c00eb10ea7d133 (diff) | |
download | mariadb-git-1c4b917f0e82081950ca256fd7698dab8f4722e6.tar.gz |
Fix clang compile error in value.cpp
-rw-r--r-- | storage/connect/value.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index 8f2cb631feb..803bf9688be 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -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 |