diff options
-rw-r--r-- | src/hash.c | 2 | ||||
-rw-r--r-- | test/meson.build | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -175,7 +175,7 @@ rehash(ZixHash* const hash, const size_t old_n_entries) // Reinsert every element into the new array for (size_t i = 0U; i < old_n_entries; ++i) { - ZixHashEntry* const entry = &old_entries[i]; + const ZixHashEntry* const entry = &old_entries[i]; if (entry->value) { assert(hash->mask == hash->n_entries - 1U); diff --git a/test/meson.build b/test/meson.build index fbcaac9..3028d4c 100644 --- a/test/meson.build +++ b/test/meson.build @@ -50,7 +50,6 @@ if not meson.is_subproject() and get_option('lint') '--project=' + compdb_path, '--suppress=constParameterCallback', '--suppress=constParameterPointer', - '--suppress=constVariablePointer', '--suppress=knownConditionTrueFalse', '--suppress=selfAssignment', '--suppress=unreadVariable', |