Skip to content

Commit 4837a34

Browse files
norihiroRytoEX
authored andcommitted
libobs/util: Remove unused static-inline function
The commit 862f162 commented the function out and the function became unused.
1 parent d76f4b3 commit 4837a34

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

libobs/util/config-file.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,6 @@ config_t *config_create(const char *file)
8787
return config;
8888
}
8989

90-
static inline void remove_ref_whitespace(struct strref *ref)
91-
{
92-
if (ref->array) {
93-
while (ref->len && is_whitespace(*ref->array)) {
94-
ref->array++;
95-
ref->len--;
96-
}
97-
98-
while (ref->len && is_whitespace(ref->array[ref->len - 1]))
99-
ref->len--;
100-
}
101-
}
102-
10390
static bool config_parse_string(struct lexer *lex, struct strref *ref, char end)
10491
{
10592
bool success = end != 0;

0 commit comments

Comments
 (0)