From b3af6f000f23cdc0e3fafdfa407d4cf592c946f4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Sep 2011 01:06:53 +0000 Subject: Tidy git-svn-id: http://svn.drobilla.net/zix/trunk@42 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 --- src/patree.c | 2 +- test/hash_test.c | 2 +- test/strindex_test.c | 2 +- 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); - + /**@} */ -- cgit v1.2.1