Fix raw loggin use of uninitialized value introduced in previous commit

This commit is contained in:
Nils O. Selåsdal
2014-04-23 02:21:54 +02:00
parent 7bd1074c1d
commit dc9e38b231
+1 -1
View File
@@ -446,7 +446,7 @@ static inline void uc_vlog_file(const struct UCLogArgs *args, time_t tstamp, con
struct UCLogDestination *dest = args->dest; struct UCLogDestination *dest = args->dest;
char time_buf[48]; char time_buf[48];
struct tm t; struct tm t;
int rc; int rc = 0;
if (dest->type.file.file == NULL) if (dest->type.file.file == NULL)
return; return;