summaryrefslogtreecommitdiff
path: root/vcs-svn/repo_tree.h
diff options
context:
space:
mode:
authorMichael Witten <mfwitten@gmail.com>2011-03-29 17:31:30 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-03-29 19:47:02 (GMT)
commit9e113988d3d95f1595e2c33f704defeb2cbcc5d6 (patch)
treeaae49d07c0f1c1bb0fcd94d81606837b7785af65 /vcs-svn/repo_tree.h
parent4c502d68666acba7a83379c7abd971aafee91cf8 (diff)
downloadgit-9e113988d3d95f1595e2c33f704defeb2cbcc5d6.zip
git-9e113988d3d95f1595e2c33f704defeb2cbcc5d6.tar.gz
git-9e113988d3d95f1595e2c33f704defeb2cbcc5d6.tar.bz2
vcs-svn: a void function shouldn't try to return something
As v1.7.4-rc0~184 (2010-10-04) and C99 ยง6.8.6.4.1 remind us, standard C does not permit returning an expression of type void, even for a tail call. Noticed with gcc -pedantic: vcs-svn/svndump.c: In function 'handle_node': vcs-svn/svndump.c:213:3: warning: ISO C forbids 'return' with expression, in function returning void [-pedantic] [jn: with simplified log message] Signed-off-by: Michael Witten <mfwitten@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'vcs-svn/repo_tree.h')
0 files changed, 0 insertions, 0 deletions