From: cloudwalk Date: Mon, 29 Mar 2021 20:55:11 +0000 (+0000) Subject: sv_user: Remove redundant return/unreachable code X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=d393a999100dfd746063ea58dc277dfa75333419 sv_user: Remove redundant return/unreachable code moveframetime is already checked a few lines above and already returns if it's less than 0.0005, making the redundant return unreachable. From bones_was_here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13098 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_user.c b/sv_user.c index 9e17dbfe..cf4727b0 100644 --- a/sv_user.c +++ b/sv_user.c @@ -840,8 +840,6 @@ static void SV_ExecuteClientMoves(void) // with this approach, and if they don't send input for a while they // start moving anyway, so the longest 'lagaport' possible is // determined by the sv_clmovement_inputtimeout cvar) - if (moveframetime <= 0) - continue; oldframetime = PRVM_serverglobalfloat(frametime); oldframetime2 = sv.frametime; // update ping time for qc to see while executing this move