* fix non-iconv-enabled build
authorWilfried Göesgens <willi@citadel.org>
Thu, 15 Oct 2009 13:06:34 +0000 (13:06 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 15 Oct 2009 13:06:34 +0000 (13:06 +0000)
libcitadel/lib/stringbuf.c

index 70d59c7a7dca6ff52b7828ca270facf1a76d49a0..2a286636571dd7452098b3e8f80bc56df68f082f 100644 (file)
@@ -2947,6 +2947,8 @@ inline static void DecodeSegment(StrBuf *Target,
        char encoding[16];
 #ifdef HAVE_ICONV
        iconv_t ic = (iconv_t)(-1);
        char encoding[16];
 #ifdef HAVE_ICONV
        iconv_t ic = (iconv_t)(-1);
+#else
+       void *ic = NULL;
 #endif
        /* Now we handle foreign character sets properly encoded
         * in RFC2047 format.
 #endif
        /* Now we handle foreign character sets properly encoded
         * in RFC2047 format.