fix: power_of_two algorithm redundant conditional 'else' (#1936)

This commit is contained in:
Carlos Rafael
2022-02-10 13:51:06 -03:00
committed by GitHub
parent 27ced495bf
commit 0f5b36d437

View File

@@ -46,9 +46,9 @@ int power_of_two(int n) {
if (result == 0) {
return 1;
} else {
return 0;
}
return 0;
}
} // namespace math