diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2021-04-04 11:24:51 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2021-04-04 11:39:06 +0900 |
commit | 5d1c7a77e6153227701fc906d3611b15e5b390ee (patch) | |
tree | 012d444d4912bd842f4da6d22b8760892373e052 /test/hangul.c | |
parent | 2ddc547f014afdc25b73a2f26f28b70728d79105 (diff) | |
download | libhangul-5d1c7a77e6153227701fc906d3611b15e5b390ee.tar.gz |
Remove compiler warnings with -Wpedantic (#44)
pedantic 옵션을 추가했을 때 발생하는 워닝을 제거한다.
다른 워닝이 발생하는 곳도 같이 수정한다.
https://github.com/libhangul/libhangul/issues/44
Diffstat (limited to 'test/hangul.c')
-rw-r--r-- | test/hangul.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hangul.c b/test/hangul.c index cbaf38f..797c14d 100644 --- a/test/hangul.c +++ b/test/hangul.c @@ -46,6 +46,7 @@ void ucs4_to_utf8(char *buf, const ucschar *ucs4, size_t bufsize) outbuf = buf; outbytesleft = bufsize; ret = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); + (void)ret; iconv_close(cd); |