mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libcpp: fix typos in iconv_close [PR124930]
This patch fixes two typos: the reverse_ prefix is missing in the iconv_close calls. PR preprocessor/124930 libcpp/ChangeLog: * charset.cc (_cpp_destroy_iconv): Correct two calls to iconv_close. Reviewed-by: Jakub Jelinek <jakub@redhat.com>
This commit is contained in:
@@ -841,9 +841,9 @@ _cpp_destroy_iconv (cpp_reader *pfile)
|
||||
if (pfile->wide_cset_desc.func == convert_using_iconv)
|
||||
iconv_close (pfile->wide_cset_desc.cd);
|
||||
if (pfile->reverse_narrow_cset_desc.func == convert_using_iconv)
|
||||
iconv_close (pfile->narrow_cset_desc.cd);
|
||||
iconv_close (pfile->reverse_narrow_cset_desc.cd);
|
||||
if (pfile->reverse_utf8_cset_desc.func == convert_using_iconv)
|
||||
iconv_close (pfile->utf8_cset_desc.cd);
|
||||
iconv_close (pfile->reverse_utf8_cset_desc.cd);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user