Skip to content

Fix C4703: initialize 'input' pointer to NULL#326

Open
icanhasmath wants to merge 1 commit intoyaml:masterfrom
ActiveState:fix/issue-325-uninitialized-input-pointer
Open

Fix C4703: initialize 'input' pointer to NULL#326
icanhasmath wants to merge 1 commit intoyaml:masterfrom
ActiveState:fix/issue-325-uninitialized-input-pointer

Conversation

@icanhasmath
Copy link
Copy Markdown

Initialize FILE *input to NULL in run-parser-test-suite.c and run-emitter-test-suite.c to fix MSVC warning C4703 (potentially uninitialized local pointer variable used). This is required when compiling with /sdl.

Fixes #325

Initialize FILE *input to NULL in run-parser-test-suite.c and
run-emitter-test-suite.c to fix MSVC warning C4703 (potentially
uninitialized local pointer variable used).

Fixes yaml#325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compile error C4703: potentially uninitialized local pointer variable 'input' used

1 participant