0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

libobs/util: Remove unused static-inline function

The commit 862f16285f commented the function out and the function became
unused.
This commit is contained in:
Norihiro Kamae 2024-07-30 00:02:31 +09:00 committed by Ryan Foster
parent d76f4b3aad
commit 4837a3417f

View File

@ -87,19 +87,6 @@ config_t *config_create(const char *file)
return config;
}
static inline void remove_ref_whitespace(struct strref *ref)
{
if (ref->array) {
while (ref->len && is_whitespace(*ref->array)) {
ref->array++;
ref->len--;
}
while (ref->len && is_whitespace(ref->array[ref->len - 1]))
ref->len--;
}
}
static bool config_parse_string(struct lexer *lex, struct strref *ref, char end)
{
bool success = end != 0;