1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-23 08:44:35 +00:00

getv4: Value stored to 'dst' is never read

This commit is contained in:
Daniel Stenberg
2010-12-27 13:13:19 +01:00
parent 366cd6d54d
commit 39d7f64361

View File

@ -271,8 +271,8 @@ getv4(const char *src, unsigned char *dst, int *bitsp)
return (0);
if (dst - odst > 3) /* too many octets? */
return (0);
*dst++ = (unsigned char)val;
return (1);
*dst = (unsigned char)val;
return 1;
}
static int