Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
jikes
jikes-1.22-uninitialized-variables.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jikes-1.22-uninitialized-variables.patch of Package jikes
Index: src/diagnose.cpp =================================================================== --- src/diagnose.cpp.orig +++ src/diagnose.cpp @@ -380,10 +380,10 @@ RepairCandidate DiagnoseParser::ErrorRec /*****************************************************************/ RepairCandidate DiagnoseParser::PrimaryPhase(TokenObject error_token) { - PrimaryRepairInfo repair, - new_repair; + PrimaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0 }; + PrimaryRepairInfo new_repair = { ERROR_CODE, 0, 0, 0, 0 }; - RepairCandidate candidate; + RepairCandidate candidate = { 0, 0 }; repair.distance = 0; repair.misspell_index = 0; @@ -1449,8 +1449,10 @@ bool DiagnoseParser::SecondaryCheck(int /*****************************************************************/ RepairCandidate DiagnoseParser::SecondaryPhase(TokenObject error_token) { - SecondaryRepairInfo repair, - misplaced; + SecondaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0, 0, false }; + SecondaryRepairInfo misplaced = { ERROR_CODE, 0, 0, 0, 0, 0, false }; + + RepairCandidate candidate; Index: src/parser.cpp =================================================================== --- src/parser.cpp.orig +++ src/parser.cpp @@ -506,7 +506,7 @@ void Parser::RepairParse(TokenObject cur // void Parser::ErrorRepair(TokenObject error_token) { - SecondaryRepairInfo repair; + SecondaryRepairInfo repair = { ERROR_CODE, 0, 0, 0, 0, 0, false }; repair.code = ERROR_CODE; do
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor