mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
fix compilation warning
This commit is contained in:
parent
8de6199b16
commit
b1cd096007
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ void get_date(register char * to, int flag, time_t date)
|
|||
struct tm tm_tmp;
|
||||
#endif
|
||||
|
||||
skr=date ? (time_t) date : my_time(0);
|
||||
skr=date ? date : (time_t) my_time(0);
|
||||
#if defined(HAVE_LOCALTIME_R) && defined(_REENTRANT)
|
||||
if (flag & GETDATE_GMT)
|
||||
gmtime_r(&skr,&tm_tmp);
|
||||
|
|
Loading…
Add table
Reference in a new issue