diff options
author | David Robillard <d@drobilla.net> | 2011-09-29 01:06:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-29 01:06:53 +0000 |
commit | b3af6f000f23cdc0e3fafdfa407d4cf592c946f4 (patch) | |
tree | ad12fdc8b1f14d8cacb0353729e48d5125aed5be | |
parent | 7aba1b9c1a40ce84b2f9a42988697b7ebd464ee0 (diff) | |
download | zix-b3af6f000f23cdc0e3fafdfa407d4cf592c946f4.tar.gz zix-b3af6f000f23cdc0e3fafdfa407d4cf592c946f4.tar.bz2 zix-b3af6f000f23cdc0e3fafdfa407d4cf592c946f4.zip |
Tidy
git-svn-id: http://svn.drobilla.net/zix/trunk@42 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
-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); - + /**@} */ |