summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 19:56:31 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-11 15:46:41 -0500
commit08047ca0121f8e6d82ed4ed5fafa13127285050d (patch)
tree6efb70d805099615b9005f37b979f952f0cbddc6
parentceddeed80a21f0d3a3396d90dd61fada361ed745 (diff)
downloadlibgit2-08047ca0121f8e6d82ed4ed5fafa13127285050d.tar.gz
str: git_str_free is never a function
-rw-r--r--src/str.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/str.c b/src/str.c
index 7b50800c1..9d579f144 100644
--- a/src/str.c
+++ b/src/str.c
@@ -132,13 +132,6 @@ void git_str_dispose(git_str *buf)
git_str_init(buf, 0);
}
-#ifndef GIT_DEPRECATE_HARD
-void git_str_free(git_str *buf)
-{
- git_str_dispose(buf);
-}
-#endif
-
void git_str_clear(git_str *buf)
{
buf->size = 0;