aboutsummaryrefslogtreecommitdiffstats
path: root/src/zlsb.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-02 21:16:00 +0100
committerMattias Andrée <maandree@kth.se>2016-03-02 21:16:00 +0100
commitc27c4204f0d734bc1a889b4405469ac83d568883 (patch)
treeff9fdcd42402bb2a7618a3ea3795cf3d63131940 /src/zlsb.c
parentAdd zand, zor, zxor, znot, zbtest, zsplit, and the newly introduced ztrunc (diff)
downloadlibzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.gz
libzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.bz2
libzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.xz
Cleanup and add missing header inclusions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zlsb.c')
-rw-r--r--src/zlsb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/zlsb.c b/src/zlsb.c
index d63752e..6c0ae6e 100644
--- a/src/zlsb.c
+++ b/src/zlsb.c
@@ -7,9 +7,8 @@ zlsb(z_t a)
{
size_t i = 0;
zahl_char_t x;
- if (zzero(a)) {
+ if (zzero(a))
return SIZE_MAX;
- }
for (;; i++) {
x = a->chars[i];
if (x) {