mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-26 11:01:16 -03:00
Eliminate the CHECK() macro
This thing was pretty useless.
This commit is contained in:
@@ -47,8 +47,7 @@ static int wcsfilecmp_leading_digits(const wchar_t **a, const wchar_t **b) {
|
||||
///
|
||||
/// Returns: -1 if a < b, 0 if a == b, 1 if a > b.
|
||||
int wcsfilecmp(const wchar_t *a, const wchar_t *b) {
|
||||
CHECK(a, 0);
|
||||
CHECK(b, 0);
|
||||
assert(a && b && "Null parameter");
|
||||
const wchar_t *orig_a = a;
|
||||
const wchar_t *orig_b = b;
|
||||
int retval = 0; // assume the strings will be equal
|
||||
|
||||
Reference in New Issue
Block a user