summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/str-idna.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/str-idna.c b/lib/str-idna.c
index bb086fb120..518e26f317 100644
--- a/lib/str-idna.c
+++ b/lib/str-idna.c
@@ -177,9 +177,6 @@ static int _idn2_to_unicode_8z8z(const char *src, char **dst)
if (rc != IDN2_OK)
return rc;
- if (rc != IDN2_OK)
- return rc;
-
u8len = sizeof(u8);
if (u32_to_u8(u32, u32len, u8, &u8len) == NULL)
return IDN2_ENCODING_ERROR;