diff options
| author | ashn <[email protected]> | 2023-08-14 18:09:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-15 00:09:27 +0200 |
| commit | a86c93ebc0095f6c2ffc14656bfc9e1e37070f72 (patch) | |
| tree | cb80ffbfe6b12be3f42322537aff3552fd9239f2 /src/rtext.c | |
| parent | e2d4463886de84493ae2cebaa173ae402dc30701 (diff) | |
| download | raylib-a86c93ebc0095f6c2ffc14656bfc9e1e37070f72.tar.gz raylib-a86c93ebc0095f6c2ffc14656bfc9e1e37070f72.zip | |
Ignore unused return value of GetCodepointNext in GetCodepointCount (#3241)
* 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.
* Remove unnecessary void cast in GetCodepointCount
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c index a66c5810..3fb2b886 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); + GetCodepointNext(ptr, &next); ptr += next; |
