Commit a2fd56ab by Carlos Martín Nieto

Fix a couple of compiler warnings

parent 49ae22ba
......@@ -42,7 +42,7 @@ GIT_INLINE(int) git_stream_close(git_stream *st)
GIT_INLINE(void) git_stream_free(git_stream *st)
{
return st->free(st);
st->free(st);
}
#endif
......@@ -526,7 +526,7 @@ static int write_chunk(git_stream *io, const char *buffer, size_t len)
static int http_connect(http_subtransport *t)
{
int flags = 0, error;
int error;
if (t->connected &&
http_should_keep_alive(&t->parser) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment