Shut up clang-tidy about goto.
This commit is contained in:
parent
5155c7fcdc
commit
9031f0d526
|
@ -83,7 +83,7 @@ void Document::download(const string &uri, const bool temp_redirect)
|
||||||
{
|
{
|
||||||
if (temp_redirect)
|
if (temp_redirect)
|
||||||
{
|
{
|
||||||
goto temporary_redirect;
|
goto temporary_redirect; // NOLINT(cppcoreguidelines-avoid-goto)
|
||||||
}
|
}
|
||||||
_profiledata.feedurl = extract_location(response.headers);
|
_profiledata.feedurl = extract_location(response.headers);
|
||||||
if (_profiledata.feedurl.empty())
|
if (_profiledata.feedurl.empty())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user