Bläddra i källkod

libobs/util: Remove unused static-inline function

The commit 862f16285f commented the function out and the function became
unused.
Norihiro Kamae 1 år sedan
förälder
incheckning
4837a3417f
1 ändrade filer med 0 tillägg och 13 borttagningar
  1. 0 13
      libobs/util/config-file.c

+ 0 - 13
libobs/util/config-file.c

@@ -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;