Skip to content

Commit 0631623

Browse files
jrngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 276e017 commit 0631623

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vcs-svn/repo_tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static uint32_t mark;
3838
static int repo_dirent_name_cmp(const void *a, const void *b);
3939

4040
/* 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)
4242

4343
uint32_t next_blob_mark(void)
4444
{

vcs-svn/string_pool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static int node_cmp(struct node *a, struct node *b)
3030
}
3131

3232
/* 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)
3434

3535
const char *pool_fetch(uint32_t entry)
3636
{

0 commit comments

Comments
 (0)