forked from bartvdbraak/blender
Cleanup: remove redundant code
This commit is contained in:
parent
bc338aac74
commit
5e76622f47
@ -413,7 +413,9 @@ char32_t BLI_str_utf32_char_to_upper(const char32_t wc)
|
|||||||
{
|
{
|
||||||
if (wc < U'\xFF') { /* Latin. */
|
if (wc < U'\xFF') { /* Latin. */
|
||||||
if ((wc <= U'z' && wc >= U'a') || (wc <= U'\xF6' && wc >= U'\xE0') ||
|
if ((wc <= U'z' && wc >= U'a') || (wc <= U'\xF6' && wc >= U'\xE0') ||
|
||||||
(wc <= U'\xFE' && wc >= U'\xF8')) {
|
/* Correct but the first case is know, only check the second */
|
||||||
|
// (wc <= U'\xFE' && wc >= U'\xF8')
|
||||||
|
(wc >= U'\xF8')) {
|
||||||
return wc - 32;
|
return wc - 32;
|
||||||
}
|
}
|
||||||
return wc;
|
return wc;
|
||||||
|
@ -116,9 +116,6 @@ static bool meshcache_read_mdd_range_from_time(FILE *fp,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == mdd_head.frame_tot) {
|
|
||||||
frame = (float)(mdd_head.frame_tot - 1);
|
|
||||||
}
|
|
||||||
if (UNLIKELY(f_time_prev == FLT_MAX)) {
|
if (UNLIKELY(f_time_prev == FLT_MAX)) {
|
||||||
frame = 0.0f;
|
frame = 0.0f;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user