soup-date uses strtoul() to parse the sub-second portion of an ISO
8601 timestamp (to verify that it's syntactically valid), but then
throws that information away. gcc 4.6 is pickier about how we throw it
away though.
static gboolean
parse_iso8601_date (SoupDate *date, const char *date_string)
{
- gulong val, ignored;
+ gulong val;
if (strlen (date_string) < 15)
return FALSE;
return FALSE;
if (*date_string == '.' || *date_string == ',')
- ignored = strtoul (date_string + 1, (char **)&date_string, 10);
+ (void) strtoul (date_string + 1, (char **)&date_string, 10);
if (*date_string == 'Z') {
date_string++;