summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-05 13:08:11 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-06 12:58:33 +0200
commite0af1a2e108391430fdf154c1816258f4fb9b117 (patch)
treee4d2ddea1854cb3d16e57a33e40f31a21b0971d0
parent67610ef0ac8c436fe319fa8496188b982785935b (diff)
downloadgnutls-e0af1a2e108391430fdf154c1816258f4fb9b117.tar.gz
removed duplicate code
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-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;