diff options
Diffstat (limited to 'src/zsets.c')
| -rw-r--r-- | src/zsets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zsets.c b/src/zsets.c index 24ca082..bddc9ec 100644 --- a/src/zsets.c +++ b/src/zsets.c @@ -13,12 +13,12 @@ zsets(z_t a, const char *str) str += neg || (*str == '+'); - if (EXPECT(!*str, 0)) { + if (unlikely(!*str)) { errno = EINVAL; return -1; } for (str_end = str; *str_end; str_end++) { - if (EXPECT(!isdigit(*str_end), 0)) { + if (unlikely(!isdigit(*str_end))) { errno = EINVAL; return -1; } |
