Selaa lähdekoodia

libobs: Remove unnecessary const qualifier

This function returns a char *, so it should not be const (the value is
set from a function which also returns a char *, so there is no real
reason for this to be const).
Hunter L. Allen 7 vuotta sitten
vanhempi
sitoutus
e3356d5ff6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      libobs/obs.c

+ 1 - 1
libobs/obs.c

@@ -789,7 +789,7 @@ char *obs_find_data_file(const char *file)
 {
 	struct dstr path = {0};
 
-	const char *result = find_libobs_data_file(file);
+	char *result = find_libobs_data_file(file);
 	if (result)
 		return result;