~maria-captains/maria/10.0

« back to all changes in this revision

Viewing changes to storage/connect/tabodbc.cpp

- Remove one gcc warning
modified:
  storage/connect/tabodbc.cpp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1075
1075
    } // endif Bufp
1076
1076
 
1077
1077
  if (Buf_Type == TYPE_DATE) {
1078
 
    struct tm dbtime = {0,0,0,0,0,0,0,0,0};
 
1078
    struct tm dbtime;
1079
1079
 
 
1080
    memset(&dbtime, 0, sizeof(tm));
1080
1081
    dbtime.tm_sec = (int)Sqlbuf->second;
1081
1082
    dbtime.tm_min = (int)Sqlbuf->minute;
1082
1083
    dbtime.tm_hour = (int)Sqlbuf->hour;