summaryrefslogtreecommitdiffstats
path: root/test-svn-fe.c
diff options
context:
space:
mode:
authorDavid Barr <davidbarr@google.com>2012-05-31 16:41:30 +0200
committerJonathan Nieder <jrnieder@gmail.com>2012-07-06 06:26:51 +0200
commit3b8a3051733e754dad587e5a73fba7f367c7e0db (patch)
treefcda569fca679197151792fdc575e4e1ae8d1e2c /test-svn-fe.c
parentvcs-svn: suppress -Wtype-limits warning (diff)
downloadgit-3b8a3051733e754dad587e5a73fba7f367c7e0db.tar.xz
git-3b8a3051733e754dad587e5a73fba7f367c7e0db.zip
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;
}