Skip to content

Commit 42205e7

Browse files
authored
Merge pull request libgit2#6111 from libgit2/ethomson/str_free
str: git_str_free is never a function
2 parents ceddeed + 08047ca commit 42205e7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/str.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,6 @@ void git_str_dispose(git_str *buf)
132132
git_str_init(buf, 0);
133133
}
134134

135-
#ifndef GIT_DEPRECATE_HARD
136-
void git_str_free(git_str *buf)
137-
{
138-
git_str_dispose(buf);
139-
}
140-
#endif
141-
142135
void git_str_clear(git_str *buf)
143136
{
144137
buf->size = 0;

0 commit comments

Comments
 (0)