From 814b23b367806ec9a9c2887fa0a1a8e33fa7ff5b Mon Sep 17 00:00:00 2001 From: ashn Date: Sat, 12 Aug 2023 18:39:34 -0400 Subject: [PATCH] Remove unnecessary void cast in GetCodepointCount --- src/rtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtext.c b/src/rtext.c index ef96c91b6..3fb2b8861 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text) while (*ptr != '\0') { int next = 0; - (void)GetCodepointNext(ptr, &next); + GetCodepointNext(ptr, &next); ptr += next;