瀏覽代碼

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
pull/3254/head
ashn 1 年之前
committed by GitHub
父節點
當前提交
a86c93ebc0
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c 查看文件

@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text)
while (*ptr != '\0')
{
int next = 0;
kt">int letter = GetCodepointNext(ptr, &next);
GetCodepointNext(ptr, &next);
ptr += next;

Loading…
取消
儲存