Skip to content

Commit 1c4b917

Browse files
committed
Fix clang compile error in value.cpp
1 parent 7863554 commit 1c4b917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/connect/value.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,11 +2744,11 @@ void DTVAL::SetValue(int n)
27442744
Tval = n;
27452745

27462746
if (Pdtp) {
2747-
size_t n = 0, slen = (size_t)Len + 1;
2747+
size_t slen = (size_t)Len + 1;
27482748
struct tm tm, *ptm= GetGmTime(&tm);
27492749

27502750
if (ptm)
2751-
n = strftime(Sdate, slen, Pdtp->OutFmt, ptm);
2751+
strftime(Sdate, slen, Pdtp->OutFmt, ptm);
27522752

27532753
} // endif Pdtp
27542754

0 commit comments

Comments
 (0)