aboutsummaryrefslogtreecommitdiff
path: root/vcs-svn/string_pool.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-03-16 02:02:42 -0500
committerJunio C Hamano <gitster@pobox.com>2011-03-16 12:56:23 -0700
commit06316234accdcb6608506aed6600cd60ff5c5c8e (patch)
tree64f85620f60e5ebf30a5049898ba772e8938833f /vcs-svn/string_pool.c
parent276e017f2f632e9bd954bd5a6b794fe0865a5f37 (diff)
downloadgit-06316234accdcb6608506aed6600cd60ff5c5c8e.tar.gz
git-06316234accdcb6608506aed6600cd60ff5c5c8e.tar.xz
vcs-svn: remove spurious semicolons
trp_gen is not a statement or function call, so it should not be followed with a semicolon. Noticed by gcc -pedantic. vcs-svn/repo_tree.c:41:81: warning: ISO C does not allow extra ';' outside of a function [-pedantic] Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/string_pool.c')
-rw-r--r--vcs-svn/string_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/string_pool.c b/vcs-svn/string_pool.c
index f5b1da836..8af8d54d6 100644
--- a/vcs-svn/string_pool.c
+++ b/vcs-svn/string_pool.c
@@ -30,7 +30,7 @@ static int node_cmp(struct node *a, struct node *b)
}
/* Build a Treap from the node structure (a trp_node w/ offset) */
-trp_gen(static, tree_, struct node, children, node, node_cmp);
+trp_gen(static, tree_, struct node, children, node, node_cmp)
const char *pool_fetch(uint32_t entry)
{