Shut up clang-tidy about goto.

This commit is contained in:
tastytea 2019-12-29 08:33:06 +01:00
parent 5155c7fcdc
commit 9031f0d526
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -83,7 +83,7 @@ void Document::download(const string &uri, const bool temp_redirect)
{
if (temp_redirect)
{
goto temporary_redirect;
goto temporary_redirect; // NOLINT(cppcoreguidelines-avoid-goto)
}
_profiledata.feedurl = extract_location(response.headers);
if (_profiledata.feedurl.empty())