diff --git a/src/linker.cpp b/src/linker.cpp index e1057c2d..4303dd96 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -498,7 +498,7 @@ void ElfLinker::relocate() for (unsigned ic = 0; ic < nrelocations; ic++) { const Relocation *rel = relocations[ic]; - unsigned value; + unsigned value = 0; if (rel->section->output == NULL) continue;