From aec8f81358fa0ba6927563c189cfb49e5c9ff113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Moln=C3=A1r?= Date: Fri, 25 Mar 2011 12:02:22 +0100 Subject: [PATCH] fixed a warning (sf.net bug 3241423) --- src/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;