summaryrefslogtreecommitdiff
path: root/test-svn-fe.c
diff options
context:
space:
mode:
authorDavid Barr <davidbarr@google.com>2012-06-01 00:41:30 +1000
committerJonathan Nieder <jrnieder@gmail.com>2012-07-05 23:26:51 -0500
commit3b8a3051733e754dad587e5a73fba7f367c7e0db (patch)
treefcda569fca679197151792fdc575e4e1ae8d1e2c /test-svn-fe.c
parent5b8bf02930674a5c2cba42d919ba3c0c96bf58e4 (diff)
downloadgit-3b8a3051733e754dad587e5a73fba7f367c7e0db.tar.gz
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 'test-svn-fe.c')
-rw-r--r--test-svn-fe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test-svn-fe.c b/test-svn-fe.c
index 332a5f711d..83633a21e5 100644
--- a/test-svn-fe.c
+++ b/test-svn-fe.c
@@ -31,9 +31,7 @@ static int apply_delta(int argc, char *argv[])
die_errno("cannot close preimage");
if (buffer_deinit(&delta))
die_errno("cannot close delta");
- buffer_reset(&preimage);
strbuf_release(&preimage_view.buf);
- buffer_reset(&delta);
return 0;
}