Sfoglia il codice sorgente

text-freetype2: Fix unused parameter warning

gxalpha 4 anni fa
parent
commit
87fc27c254
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      plugins/text-freetype2/text-freetype2.c

+ 2 - 0
plugins/text-freetype2/text-freetype2.c

@@ -525,6 +525,8 @@ static void *ft2_source_create(obs_data_t *settings, obs_source_t *source)
 
 	obs_source_update(source, NULL);
 
+	UNUSED_PARAMETER(settings);
+
 	return srcdata;
 }