diff --git a/src/eitd/xmlutil.cpp b/src/eitd/xmlutil.cpp index 2c1fe99e4..884ff0c5b 100644 --- a/src/eitd/xmlutil.cpp +++ b/src/eitd/xmlutil.cpp @@ -685,8 +685,7 @@ void *insertEventsfromXMLTV(void * data) reader_ready = true; pthread_exit(NULL); } - static std::string url = ""; - url = (std::string)(char *) data; + static std::string url = (std::string)(char *) data; std::string tmp_name = randomFile(getFileExt(url), "/tmp", 8); int64_t now = time_monotonic_ms();