Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 2a516dc

Browse files
committedAug 16, 2015
Merge pull request #111 from juj/fix_uninit_bool_use
fix_uninit_bool_use
2 parents 98c9c29 + 64e076b commit 2a516dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/Transforms/NaCl/PromoteIntegers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ static void convertInstruction(DataLayout *DL, Instruction *Inst,
635635

636636
static bool processFunction(Function &F, DataLayout &DL) {
637637
ConversionState State;
638-
bool Modified;
638+
bool Modified = false; // XXX Emscripten: Fixed use of an uninitialized variable.
639639
for (auto FI = F.begin(), FE = F.end(); FI != FE; ++FI) {
640640
for (auto BBI = FI->begin(), BBE = FI->end(); BBI != BBE;) {
641641
Instruction *Inst = BBI++;

0 commit comments

Comments
 (0)