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>
Jonathan Nieder committed
Mar 16, 2011 at 02:02 UTC
06316234accdcb6608506aed6600cd60ff5c5c8e
2 files changed
+2
-2
vcs-svn/repo_tree.c
+1
-1
@@ -38,7 +38,7 @@ static uint32_t mark;
38
static int repo_dirent_name_cmp(const void *a, const void *b);
39
40
/* Treap for directory entries */
41
-trp_gen(static, dent_, struct repo_dirent, children, dent, repo_dirent_name_cmp);
41
+trp_gen(static, dent_, struct repo_dirent, children, dent, repo_dirent_name_cmp)
42
43
uint32_t next_blob_mark(void)
44
{
vcs-svn/string_pool.c
+1
-1
@@ -30,7 +30,7 @@ static int node_cmp(struct node *a, struct node *b)
30
}
31
32
/* Build a Treap from the node structure (a trp_node w/ offset) */
33
-trp_gen(static, tree_, struct node, children, node, node_cmp);
33
+trp_gen(static, tree_, struct node, children, node, node_cmp)
34
35
const char *pool_fetch(uint32_t entry)
36
{