diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-05 13:08:11 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-05 14:53:48 +0200 |
commit | c67957126d5bec449034bf0a870074f13ba2ae26 (patch) | |
tree | d9a6f181ea61d6cb81891f054ba5d9564e42463d | |
parent | c29d90c528a642c3dafdb99c23b242f577a47ae2 (diff) | |
download | gnutls-c67957126d5bec449034bf0a870074f13ba2ae26.tar.gz |
removed duplicate code
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/str-idna.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/str-idna.c b/lib/str-idna.c index 9e4548a4d6..6977857d70 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; |