From 613f06b867cca45c2fc29aed93b82517d398abfe Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 13 Oct 2010 19:46:10 +0000 Subject: [PATCH] shut up a gcc warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10525 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 0c831f23..c8d13467 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -8011,7 +8011,7 @@ static void R_DrawModelsAddWaterPlanes(void) static void R_View_SetFrustum(const int *scissor) { int i; - double fpx, fnx, fpy, fny; + double fpx = +1, fnx = -1, fpy = +1, fny = -1; vec3_t forward, left, up, origin, v; if(scissor) @@ -8040,11 +8040,6 @@ static void R_View_SetFrustum(const int *scissor) break; } } - else - { - fnx = fny = -1; - fpx = fpy = +1; - } // we can't trust r_refdef.view.forward and friends in reflected scenes Matrix4x4_ToVectors(&r_refdef.view.matrix, forward, left, up, origin); -- 2.39.2