diff --git a/code/ryzom/tools/client/ryzom_installer/src/filesextractor.cpp b/code/ryzom/tools/client/ryzom_installer/src/filesextractor.cpp
index d314dce93..be740a1f7 100644
--- a/code/ryzom/tools/client/ryzom_installer/src/filesextractor.cpp
+++ b/code/ryzom/tools/client/ryzom_installer/src/filesextractor.cpp
@@ -213,7 +213,7 @@ public:
 	static SRes seekFunc(void *object, Int64 *pos, ESzSeek origin)
 	{
 		Q7zFile *me = (Q7zFile*)object;
-		qint64 newPos;
+		qint64 newPos = 0;
 
 		switch(origin)
 		{