aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_close.c')
-rw-r--r--iconv/gconv_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_close.c b/iconv/gconv_close.c
index 9d01f146cc..81f0e0b319 100644
--- a/iconv/gconv_close.c
+++ b/iconv/gconv_close.c
@@ -45,7 +45,7 @@ __gconv_close (__gconv_t cd)
struct __gconv_trans_data *curp = transp;
transp = transp->__next;
- if (__builtin_expect (curp->__trans_end_fct != NULL, 0))
+ if (__glibc_unlikely (curp->__trans_end_fct != NULL))
curp->__trans_end_fct (curp->__data);
free (curp);