diff --git a/src/tvhlog.c b/src/tvhlog.c index e85c35a3..ac42dc3c 100644 --- a/src/tvhlog.c +++ b/src/tvhlog.c @@ -86,7 +86,7 @@ static void tvhlog_set_subsys ( htsmsg_t **c, const char *subsys ) { uint32_t a; - char *s, *t, *r; + char *s, *t, *r = NULL; if (*c) htsmsg_destroy(*c);