Remove noop line causing compilation warning

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2020-09-16 19:36:33 +02:00
parent a13287b4ff
commit bba3cbd9d8

View File

@ -111,8 +111,6 @@ int vcaslog(int log_level, const char *template, va_list args)
goto out; goto out;
} }
timestamp[strnlen(timestamp, SIZE_MAX)-1] = 0;
fseek(log, 0, SEEK_END); fseek(log, 0, SEEK_END);
fprintf(log, "%s casadm: ", timestamp); fprintf(log, "%s casadm: ", timestamp);
vfprintf(log, template, args); vfprintf(log, template, args);