Fix a couple of compiler warnings

This commit is contained in:
Carlos Martín Nieto 2014-12-10 16:22:50 +01:00
parent 49ae22baac
commit a2fd56ab18
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) &&