From: lordhavoc Date: Mon, 12 Feb 2001 08:24:04 +0000 (+0000) Subject: fix for unitialized variable warnings X-Git-Tag: RELEASE_0_2_0_RC1~872 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=dd1a3ca18abf488c754c837765ad27cd0c1082c8 fix for unitialized variable warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@148 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 907822e1..92fa54c4 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -706,7 +706,9 @@ void GL_BlendView() temptime = currtime;\ currtime = Sys_FloatTime();\ VAR = (int) ((currtime - temptime) * 1000000.0);\ - } + }\ + else\ + VAR = 0; /* ================ @@ -740,6 +742,8 @@ void R_RenderView (void) starttime = currtime = Sys_FloatTime(); // Con_Printf("render time: "); } + else + starttime = currtime = 0; R_Clear(); skypolyclear(); wallpolyclear();