From 4887d0dc7d8ec90b9ff86ff2371ed37fdd1caca0 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 4 Feb 2015 12:24:22 +0000 Subject: [PATCH] Kill more unreachable code. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12146 d7cf8633-e32d-0410-b094-e92efae38249 --- crypto.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crypto.c b/crypto.c index ebb78d2e..8428c678 100644 --- a/crypto.c +++ b/crypto.c @@ -2315,7 +2315,7 @@ int Crypto_ClientParsePacket(const char *data_in, size_t len_in, char *data_out, CDATA->next_step = 1; *len_out = data_out_p - data_out; } - else if(clientid >= 0) + else // if(clientid >= 0) // guaranteed by condition one level outside { // skip over server auth, perform client auth only if(!CDATA->id) @@ -2339,8 +2339,6 @@ int Crypto_ClientParsePacket(const char *data_in, size_t len_in, char *data_out, data_out_p += *len_out; *len_out = data_out_p - data_out; } - else - *len_out = data_out_p - data_out; return CRYPTO_DISCARD; } -- 2.39.2