3 ms·
The second conditional is unneeded as the 0 will only be returned if c evaluates to 0, so it can equally well be written int a = b ?: c;
by messe 7y ago
The second conditional is unneeded as the 0 will only be returned if c evaluates to 0, so it can equally well be written
int a = b ?: c;