diff --git a/src/logging.c b/src/logging.c index 0712125..68843ef 100644 --- a/src/logging.c +++ b/src/logging.c @@ -446,7 +446,7 @@ static inline void uc_vlog_file(const struct UCLogArgs *args, time_t tstamp, con struct UCLogDestination *dest = args->dest; char time_buf[48]; struct tm t; - int rc; + int rc = 0; if (dest->type.file.file == NULL) return;