We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8c15bd + 53bac46 commit be3c7b5Copy full SHA for be3c7b5
src/common/bitset_set.h
@@ -220,7 +220,7 @@ class bitset_set {
220
// This is not an off-by-one error. Conventionally this would have length
221
// - 1, but the logic below is simpler with it as follows.
222
unsigned end_word = (int(start) + length) / bits_per_uint64_t;
223
- ceph_assert(0 <= end_word && end_word < word_count + 1);
+ ceph_assert(end_word < word_count + 1);
224
225
if (start_word == end_word) {
226
words[start_word] &=
0 commit comments