mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1338086 - Remove useless else blocks in order to reduce complexity in mozglue/misc/ r=froydnj
MozReview-Commit-ID: Btyl5N6EsUY --HG-- extra : rebase_source : 087a18c13a70801bf8417478654b125665e3f2ec
This commit is contained in:
parent
03e6af0438
commit
6d892b8f7f
@ -154,7 +154,8 @@ BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double aMilliseconds)
|
||||
double result = aMilliseconds * kNsPerMsd;
|
||||
if (result > INT64_MAX) {
|
||||
return INT64_MAX;
|
||||
} else if (result < INT64_MIN) {
|
||||
}
|
||||
if (result < INT64_MIN) {
|
||||
return INT64_MIN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user