mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 166781: fixed the bug that 'r2' may be used uninitialized. r=nicolson.
This commit is contained in:
parent
c855358ff8
commit
bd264d3f32
@ -742,6 +742,7 @@ static int generate_SF_file (char *manifile, char *who)
|
||||
warningCount++;
|
||||
}
|
||||
|
||||
r2 = r1;
|
||||
while (fgets (buf, BUFSIZ, mf))
|
||||
{
|
||||
if (*buf == 0 || *buf == '\n' || *buf == '\r')
|
||||
|
Loading…
Reference in New Issue
Block a user