Browse Source

Merge branch 'maint'

* maint:
  strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline()
maint
Junio C Hamano 14 years ago
parent
commit
2c4cf667b0
  1. 1
      strbuf.c

1
strbuf.c

@ -357,7 +357,6 @@ int strbuf_getwholeline(struct strbuf *sb, FILE *fp, int term) @@ -357,7 +357,6 @@ int strbuf_getwholeline(struct strbuf *sb, FILE *fp, int term)
{
int ch;

strbuf_grow(sb, 0);
if (feof(fp))
return EOF;


Loading…
Cancel
Save