diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index a38679f3121ee10396db122129bdfad2a502ed72..df11d5c98608eddffdf4fd25973f2b19735d3dd7 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -327,7 +327,7 @@ bool idle_startup()
 		return false; // No world yet
 	}
 
-	const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay");
+	static const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay");
 	static LLTimer timeout;
 
 	static LLTimer login_time;