aboutsummaryrefslogtreecommitdiffstats
path: root/src/zsplit.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-27 13:30:47 +0200
committerMattias Andrée <maandree@kth.se>2016-04-27 13:30:47 +0200
commit8c2ad212d78184d59e4181993c195b35c4cde166 (patch)
treed4cc9d6a6808ce55102666c727eeb51f8870457e /src/zsplit.c
parentFix const-correctness in libtommath translation and add error checking in hebimath translation (diff)
downloadlibzahl-8c2ad212d78184d59e4181993c195b35c4cde166.tar.gz
libzahl-8c2ad212d78184d59e4181993c195b35c4cde166.tar.bz2
libzahl-8c2ad212d78184d59e4181993c195b35c4cde166.tar.xz
Improve library translations
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zsplit.c')
-rw-r--r--src/zsplit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zsplit.c b/src/zsplit.c
index ab2dc78..afb8a33 100644
--- a/src/zsplit.c
+++ b/src/zsplit.c
@@ -6,6 +6,7 @@ void
zsplit(z_t high, z_t low, z_t a, size_t delim)
{
if (unlikely(zzero(a))) {
+ /* This is for performance. */
SET_SIGNUM(high, 0);
SET_SIGNUM(low, 0);
return;