From aff2453df710c872588572a31928cff0e47da5b7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 3 Dec 2011 21:49:35 -0500 Subject: Fix more warnings --- libidn/idna.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libidn/idna.c') diff --git a/libidn/idna.c b/libidn/idna.c index cf95291..f93b903 100644 --- a/libidn/idna.c +++ b/libidn/idna.c @@ -1,5 +1,5 @@ /* idna.c Convert to or from IDN strings. - * Copyright (C) 2002, 2003, 2004 Simon Josefsson + * Copyright (C) 2002, 2003, 2004, 2011 Simon Josefsson * * This file is part of GNU Libidn. * @@ -614,7 +614,6 @@ idna_to_unicode_4z4z (const uint32_t * input, uint32_t ** output, int flags) size_t buflen; uint32_t *out = NULL; size_t outlen = 0; - int rc; *output = NULL; @@ -630,8 +629,8 @@ idna_to_unicode_4z4z (const uint32_t * input, uint32_t ** output, int flags) if (!buf) return IDNA_MALLOC_ERROR; - rc = idna_to_unicode_44i (start, end - start, buf, &buflen, flags); - /* don't check rc as per specification! */ + idna_to_unicode_44i (start, end - start, buf, &buflen, flags); + /* don't check return value as per specification! */ if (out) { -- cgit v1.1