add an initializer
This commit is contained in:
+1
-1
@@ -792,7 +792,7 @@ time_from_yyyymmddhhmmss(buf)
|
|||||||
char *buf;
|
char *buf;
|
||||||
{
|
{
|
||||||
int k;
|
int k;
|
||||||
time_t timeresult;
|
time_t timeresult = (time_t)0;
|
||||||
struct tm t, *lt;
|
struct tm t, *lt;
|
||||||
char *g, *p, y[5],mo[3],md[3],h[3],mi[3],s[3];
|
char *g, *p, y[5],mo[3],md[3],h[3],mi[3],s[3];
|
||||||
if (buf && strlen(buf) == 14) {
|
if (buf && strlen(buf) == 14) {
|
||||||
|
|||||||
Reference in New Issue
Block a user