diff options
-rw-r--r-- | src/patree.c | 2 | ||||
-rw-r--r-- | test/hash_test.c | 2 | ||||
-rw-r--r-- | test/strindex_test.c | 2 | ||||
-rw-r--r-- | zix/common.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/patree.c b/src/patree.c index dfe65f6..b8fd183 100644 --- a/src/patree.c +++ b/src/patree.c @@ -337,7 +337,7 @@ zix_patree_find(const ZixPatree* t, const char* const str, const char** match) #else int change_index = change_index_c(p, l, len); #endif - + l += change_index; p += change_index; diff --git a/test/hash_test.c b/test/hash_test.c index ec8ea6f..953673a 100644 --- a/test/hash_test.c +++ b/test/hash_test.c @@ -124,7 +124,7 @@ main(int argc, char** argv) if (st != ZIX_STATUS_NOT_FOUND) { return test_fail("Unexpectedly removed `%s' twice\n", strings[i]); } - + // Check to ensure remaining strings are still present for (size_t j = i + 1; j < n_strings; ++j) { const char* match = (const char*)zix_hash_find(hash, strings[j]); diff --git a/test/strindex_test.c b/test/strindex_test.c index 91273b8..b36f632 100644 --- a/test/strindex_test.c +++ b/test/strindex_test.c @@ -53,7 +53,7 @@ main(int argc, char** argv) } } } - + zix_strindex_free(strindex); return 0; } diff --git a/zix/common.h b/zix/common.h index 8ed0b0b..052cb7b 100644 --- a/zix/common.h +++ b/zix/common.h @@ -65,7 +65,7 @@ typedef bool (*ZixEqualFunc)(const void* a, const void* b); Function to destroy an element. */ typedef void (*ZixDestroyFunc)(const void* ptr); - + /**@} */ |