From 8f53033e86ea1e73e0c9305aaf6d0e7d0c499d41 Mon Sep 17 00:00:00 2001 From: ashn Date: Fri, 11 Aug 2023 07:54:55 -0400 Subject: [PATCH] Ignore unused return value of GetCodepointNext in GetCodepointCount Removes the last warning from non-external libraries when compiling with the default build configuration on x64 Linux. --- src/rtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtext.c b/src/rtext.c index a66c58101..ef96c91b6 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text) while (*ptr != '\0') { int next = 0; - int letter = GetCodepointNext(ptr, &next); + (void)GetCodepointNext(ptr, &next); ptr += next;