aboutsummaryrefslogtreecommitdiffstats
path: root/src/zsplit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/zsplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zsplit.c b/src/zsplit.c
index 8f51721..68810d2 100644
--- a/src/zsplit.c
+++ b/src/zsplit.c
@@ -5,13 +5,13 @@
void
zsplit(z_t high, z_t low, z_t a, size_t delim)
{
- if (zzero(a)) {
+ if (EXPECT(zzero(a), 0)) {
SET_SIGNUM(high, 0);
SET_SIGNUM(low, 0);
return;
}
- if (high == a) {
+ if (EXPECT(high == a, 0)) {
ztrunc(low, a, delim);
zrsh(high, a, delim);
} else {