makedep: Silence unused result warnings.

oldstable
Marcin Baczyński 2010-04-02 19:06:31 +02:00 committed by Alexandre Julliard
parent aed8b8cd8d
commit d04c2ccb27
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ static char *get_line( FILE *file )
while (p == buffer + size - 1 && p[-1] != '\n')
{
buffer = xrealloc( buffer, size * 2 );
fgets( buffer + size - 1, size + 1, file );
if (!fgets( buffer + size - 1, size + 1, file )) break;
p = buffer + strlen(buffer);
size *= 2;
}
@ -216,7 +216,7 @@ static char *get_line( FILE *file )
{
*(--p) = 0;
/* line ends in backslash, read continuation line */
fgets( p, size - (p - buffer), file );
if (!fgets( p, size - (p - buffer), file )) return buffer;
input_line++;
continue;
}