diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 3fa281368ca997ffb56bf50d1a4bd0a7281de9c5..c517c9f6026a180f259b6fe1b54e5bda453f42bc 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6410,9 +6410,6 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield)
 		LLGLDisable blend(GL_BLEND);
 		bindDeferredShader(*shader);
 
-		S32 width = mScreen.getWidth();
-		S32 height = mScreen.getHeight();
-		
 		if (dof_enabled)
 		{
 			//depth of field focal plane calculations