Skip to content

Commit 37cba00

Browse files
committed
Merge branch 'en/remove-stripspace'
An internal function that was left for backward compatibility has been removed, as there is no remaining callers. * en/remove-stripspace: strbuf: remove unused stripspace function alias
2 parents e6bf6af + 9881f21 commit 37cba00

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

strbuf.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -480,15 +480,6 @@ extern int strbuf_normalize_path(struct strbuf *sb);
480480
*/
481481
extern void strbuf_stripspace(struct strbuf *buf, int skip_comments);
482482

483-
/**
484-
* Temporary alias until all topic branches have switched to use
485-
* strbuf_stripspace directly.
486-
*/
487-
static inline void stripspace(struct strbuf *buf, int skip_comments)
488-
{
489-
strbuf_stripspace(buf, skip_comments);
490-
}
491-
492483
static inline int strbuf_strip_suffix(struct strbuf *sb, const char *suffix)
493484
{
494485
if (strip_suffix_mem(sb->buf, &sb->len, suffix)) {

0 commit comments

Comments
 (0)