1
0
mirror of https://github.com/git/git.git synced 2024-09-28 08:49:45 +02:00
git/vcs-svn
Michael Witten 9e113988d3 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>
2011-03-29 14:47:02 -05:00
..
fast_export.c
fast_export.h
LICENSE
line_buffer.c
line_buffer.h
line_buffer.txt
obj_pool.h
repo_tree.c
repo_tree.h
string_pool.c
string_pool.h
string_pool.txt
svndump.c vcs-svn: a void function shouldn't try to return something 2011-03-29 14:47:02 -05:00
svndump.h
trp.h
trp.txt