From dc9e38b23118199d29c371d18269a2d75b36aa95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Wed, 23 Apr 2014 02:21:54 +0200 Subject: [PATCH] Fix raw loggin use of uninitialized value introduced in previous commit --- src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;