[clang-tidy] use bool literals where appropriate
Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -177,11 +177,11 @@ SoundCloudJsonData::EndMap() noexcept
|
||||
{
|
||||
if (got_url > 1) {
|
||||
got_url--;
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (got_url == 0)
|
||||
return 1;
|
||||
return true;
|
||||
|
||||
/* got_url == 1, track finished, make it into a song */
|
||||
got_url = 0;
|
||||
|
||||
Reference in New Issue
Block a user