mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
SVN revision: 2402
This commit is contained in:
parent
96baa78b1e
commit
e297f88392
@ -18910,7 +18910,7 @@ time_t convert_date(char *date_string)
|
|||||||
time_t convert_datetime(char *date_string)
|
time_t convert_datetime(char *date_string)
|
||||||
{
|
{
|
||||||
/* convert date string in MM/DD/YY h:m:s AM/PM or DD.MM.YY hh:m:s format into Unix time */
|
/* convert date string in MM/DD/YY h:m:s AM/PM or DD.MM.YY hh:m:s format into Unix time */
|
||||||
int year, month, day, hour, min, sec;
|
int year, month, day, hour, min=0, sec=0;
|
||||||
char *p, str[256];
|
char *p, str[256];
|
||||||
struct tm tms;
|
struct tm tms;
|
||||||
time_t ltime;
|
time_t ltime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user