Commit b10fa87b authored by Olivier Bertrand's avatar Olivier Bertrand

- Remove one gcc warning

modified:
  storage/connect/tabodbc.cpp
parent 50fc9b3b
......@@ -1075,8 +1075,9 @@ void ODBCCOL::ReadColumn(PGLOBAL g)
} // endif Bufp
if (Buf_Type == TYPE_DATE) {
struct tm dbtime = {0,0,0,0,0,0,0,0,0};
struct tm dbtime;
memset(&dbtime, 0, sizeof(tm));
dbtime.tm_sec = (int)Sqlbuf->second;
dbtime.tm_min = (int)Sqlbuf->minute;
dbtime.tm_hour = (int)Sqlbuf->hour;
......
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