diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index ab933d9651784e583d768f8d569649021aa5a4b5..60a28822bd1e41cc315eb5963915800d7ec1955a 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -2432,10 +2432,6 @@ void LLPipeline::updateCull(LLCamera& camera, LLCullResult& result, S32 water_cl
 	LLGLDisable test(GL_ALPHA_TEST);
 	gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
 
-
-	glh::matrix4f modelview = get_last_modelview();
-	glh::matrix4f proj = get_last_projection();
-
 	LLGLDepthTest depth(GL_TRUE, GL_FALSE);
 
 	bool bound_shader = false;