From e3356d5ff69d7229484082d16ddaa9b62612ec34 Mon Sep 17 00:00:00 2001 From: "Hunter L. Allen" Date: Sat, 30 Jun 2018 15:38:49 -0400 Subject: [PATCH] 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). --- libobs/obs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs.c b/libobs/obs.c index 123320b4e..f835b05a1 100644 --- a/libobs/obs.c +++ b/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;