From b026b00d9c0a3f086bfeeed65897294787659dce Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Mon, 21 Nov 2011 22:47:59 -0600 Subject: [PATCH] tests-clay: remove extra semi-colon in clay_libgit2.h, add one to index/rename.c --- tests-clay/clay_libgit2.h | 2 +- tests-clay/index/rename.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-clay/clay_libgit2.h b/tests-clay/clay_libgit2.h index a5208962e..8784b7e61 100644 --- a/tests-clay/clay_libgit2.h +++ b/tests-clay/clay_libgit2.h @@ -16,7 +16,7 @@ git_clearerror(); \ if ((expr) != GIT_SUCCESS) \ clay__assert(0, __FILE__, __LINE__, "Function call failed: " #expr, git_lasterror(), 1); \ - } while(0); + } while(0) /** * Wrapper for `clay_must_fail` -- this one is diff --git a/tests-clay/index/rename.c b/tests-clay/index/rename.c index ba72b62f7..f81125434 100644 --- a/tests-clay/index/rename.c +++ b/tests-clay/index/rename.c @@ -8,7 +8,7 @@ static void file_create(const char *filename, const char *content) fd = p_creat(filename, 0666); cl_assert(fd != 0); cl_git_pass(p_write(fd, content, strlen(content))); - cl_git_pass(p_close(fd)) + cl_git_pass(p_close(fd)); } void test_index_rename__single_file(void)