Fix warning, unused variable 'encsize'

This commit is contained in:
Erik Ekman 2014-01-29 19:10:52 +01:00
parent abb2d6cb87
commit 4f02f7d0aa

View File

@ -23,7 +23,6 @@ build_hostname(char *buf, size_t buflen,
const char *data, const size_t datalen,
const char *topdomain, struct encoder *encoder, int maxlen)
{
int encsize;
size_t space;
char *b;
@ -35,7 +34,7 @@ build_hostname(char *buf, size_t buflen,
memset(buf, 0, buflen);
encsize = encoder->encode(buf, &space, data, datalen);
encoder->encode(buf, &space, data, datalen);
if (!encoder->places_dots())
inline_dotify(buf, buflen);