aboutsummaryrefslogtreecommitdiffstats
path: root/src/znot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/znot.c')
-rw-r--r--src/znot.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/znot.c b/src/znot.c
index e1b114c..bebc55b 100644
--- a/src/znot.c
+++ b/src/znot.c
@@ -7,7 +7,7 @@ znot(z_t a, z_t b)
{
size_t bits, i;
- if (EXPECT(zzero(b), 0)) {
+ if (unlikely(zzero(b))) {
SET_SIGNUM(a, 0);
return;
}
@@ -22,7 +22,5 @@ znot(z_t a, z_t b)
if (bits)
a->chars[a->used - 1] &= ((zahl_char_t)1 << bits) - 1;
- TRIM(a);
- if (!a->used)
- SET_SIGNUM(a, 0);
+ TRIM_AND_ZERO(a);
}