From bb265b764a055f2dc576b9aec62460d9580868f4 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 8 Dec 2015 16:54:07 +0100 Subject: examples/transcode_aac: Drop pointless return value const qualifier doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] --- doc/examples/transcode_aac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c index be86fe5d3b..5c640d9ce2 100644 --- a/doc/examples/transcode_aac.c +++ b/doc/examples/transcode_aac.c @@ -49,7 +49,7 @@ * @param error Error code to be converted * @return Corresponding error text (not thread-safe) */ -static char *const get_error_text(const int error) +static char *get_error_text(const int error) { static char error_buffer[255]; av_strerror(error, error_buffer, sizeof(error_buffer)); -- cgit v1.2.3