Cleanup: remove dead code from BLI_str_partition_ex

The check for `from_right` was always false.
This commit is contained in:
Campbell Barton
2025-04-01 13:14:28 +11:00
parent 8de112efc5
commit 281cf7ff6d

View File

@@ -1059,7 +1059,7 @@ size_t BLI_str_partition_ex(const char *str,
}
}
else {
tmp = (from_right) ? strrchr(str, *d) : strchr(str, *d);
tmp = strchr(str, *d);
if (tmp >= end) {
tmp = nullptr;
}