summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 16:09:49 -0500
committerGitHub <noreply@github.com>2021-11-11 16:09:49 -0500
commit42205e72d77162c0000dbfbadb94f2d2c62511e1 (patch)
tree6efb70d805099615b9005f37b979f952f0cbddc6
parentceddeed80a21f0d3a3396d90dd61fada361ed745 (diff)
parent08047ca0121f8e6d82ed4ed5fafa13127285050d (diff)
downloadlibgit2-42205e72d77162c0000dbfbadb94f2d2c62511e1.tar.gz
Merge pull request #6111 from libgit2/ethomson/str_free
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;