We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76f4b3 commit 4837a34Copy full SHA for 4837a34
1 file changed
libobs/util/config-file.c
@@ -87,19 +87,6 @@ config_t *config_create(const char *file)
87
return config;
88
}
89
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
100
101
-}
102
103
static bool config_parse_string(struct lexer *lex, struct strref *ref, char end)
104
{
105
bool success = end != 0;
0 commit comments