summaryrefslogtreecommitdiff
path: root/src/setu/ibf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setu/ibf.c')
-rw-r--r--src/setu/ibf.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/setu/ibf.c b/src/setu/ibf.c
index 8f29adb62..dbd23c320 100644
--- a/src/setu/ibf.c
+++ b/src/setu/ibf.c
@@ -462,11 +462,11 @@ unpack_counter (const struct InvertibleBloomFilter *ibf,
/**
* Pack data left in story before finishing
*/
- while (bit_to_read_left >= 0)
+ while (true)
{
/**
- * Stop decoding when end is reached
- */
+ * Stop decoding when end is reached
+ */
if (ibf_counter_ctr > (count - 1))
return;
@@ -504,13 +504,9 @@ unpack_counter (const struct InvertibleBloomFilter *ibf,
store = store | byte_read;
}
break;
-
}
-
}
-
}
-
}