fetch/http.c: fix tcc build failure.

fetch/http.c:1475: warning: function might return no value: 'parse_index'

The code uses abort() before returning anything; return a proper
return value instead.
This commit is contained in:
Juan RP 2019-06-26 14:57:39 +02:00
parent 3c98d7cc4c
commit d6aebd45f0
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -1470,8 +1470,7 @@ parse_index(struct index_parser *parser, const char *buf, size_t len)
return -1;
return end_attr + 1 - buf;
}
/* NOTREACHED */
abort();
return -1;
}
struct http_index_cache {