diff options
author | David Barr <davidbarr@google.com> | 2012-06-01 00:41:30 +1000 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2012-07-05 23:26:51 -0500 |
commit | 3b8a3051733e754dad587e5a73fba7f367c7e0db (patch) | |
tree | fcda569fca679197151792fdc575e4e1ae8d1e2c /vcs-svn | |
parent | 5b8bf02930674a5c2cba42d919ba3c0c96bf58e4 (diff) | |
download | git-3b8a3051733e754dad587e5a73fba7f367c7e0db.tar.gz git-3b8a3051733e754dad587e5a73fba7f367c7e0db.tar.xz |
vcs-svn: drop no-op reset methods
Since v1.7.5~42^2~6 (vcs-svn: remove buffer_read_string)
buffer_reset() does nothing thus fast_export_reset() also.
Signed-off-by: David Barr <davidbarr@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'vcs-svn')
-rw-r--r-- | vcs-svn/fast_export.c | 5 | ||||
-rw-r--r-- | vcs-svn/fast_export.h | 1 | ||||
-rw-r--r-- | vcs-svn/line_buffer.c | 4 | ||||
-rw-r--r-- | vcs-svn/line_buffer.h | 1 | ||||
-rw-r--r-- | vcs-svn/svndump.c | 2 |
5 files changed, 0 insertions, 13 deletions
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c index b823b8519..b4be91cc7 100644 --- a/vcs-svn/fast_export.c +++ b/vcs-svn/fast_export.c @@ -42,11 +42,6 @@ void fast_export_deinit(void) die_errno("error closing fast-import feedback stream"); } -void fast_export_reset(void) -{ - buffer_reset(&report_buffer); -} - void fast_export_delete(const char *path) { putchar('D'); diff --git a/vcs-svn/fast_export.h b/vcs-svn/fast_export.h index aa629f54f..8823aca15 100644 --- a/vcs-svn/fast_export.h +++ b/vcs-svn/fast_export.h @@ -6,7 +6,6 @@ struct line_buffer; void fast_export_init(int fd); void fast_export_deinit(void); -void fast_export_reset(void); void fast_export_delete(const char *path); void fast_export_modify(const char *path, uint32_t mode, const char *dataref); diff --git a/vcs-svn/line_buffer.c b/vcs-svn/line_buffer.c index 01fcb842f..57cc1cec0 100644 --- a/vcs-svn/line_buffer.c +++ b/vcs-svn/line_buffer.c @@ -124,7 +124,3 @@ off_t buffer_skip_bytes(struct line_buffer *buf, off_t nbytes) } return done; } - -void buffer_reset(struct line_buffer *buf) -{ -} diff --git a/vcs-svn/line_buffer.h b/vcs-svn/line_buffer.h index 8901f214b..ee23b4f49 100644 --- a/vcs-svn/line_buffer.h +++ b/vcs-svn/line_buffer.h @@ -14,7 +14,6 @@ struct line_buffer { int buffer_init(struct line_buffer *buf, const char *filename); int buffer_fdinit(struct line_buffer *buf, int fd); int buffer_deinit(struct line_buffer *buf); -void buffer_reset(struct line_buffer *buf); int buffer_tmpfile_init(struct line_buffer *buf); FILE *buffer_tmpfile_rewind(struct line_buffer *buf); /* prepare to write. */ diff --git a/vcs-svn/svndump.c b/vcs-svn/svndump.c index 644fdc71b..f6c0d4c8a 100644 --- a/vcs-svn/svndump.c +++ b/vcs-svn/svndump.c @@ -499,8 +499,6 @@ void svndump_deinit(void) void svndump_reset(void) { - fast_export_reset(); - buffer_reset(&input); strbuf_release(&dump_ctx.uuid); strbuf_release(&dump_ctx.url); strbuf_release(&rev_ctx.log); |