Variable ch is now initialized, fixing runtime error with VC7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@981 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -908,7 +908,7 @@ _next_token (parse_state *state)
|
|||||||
static void
|
static void
|
||||||
_next_line (parse_state *state, FILE *in)
|
_next_line (parse_state *state, FILE *in)
|
||||||
{
|
{
|
||||||
int i, ch;
|
int i, ch = 0;
|
||||||
state->linenum++;
|
state->linenum++;
|
||||||
for (i = 0; i < LINE_SIZE-1; i++)
|
for (i = 0; i < LINE_SIZE-1; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user