]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - crypto.c
optimized vm by using cached local variables instead of accessing prog->
[xonotic/darkplaces.git] / crypto.c
index 30b9bd86ab21cb384c5ffce3415d4e0ef8706829..cf7cc5f2f1a959b151f4cb3c63b09ec4826f90eb 100644 (file)
--- a/crypto.c
+++ b/crypto.c
@@ -1040,7 +1040,7 @@ void Crypto_Init(void)
                return;
        }
 
-       Crypto_Rijndael_OpenLibrary(); // if this fails, it's uncritical
+       (void) Crypto_Rijndael_OpenLibrary(); // if this fails, it's uncritical
 
        Crypto_InitHostKeys();
 }
@@ -2158,7 +2158,7 @@ int Crypto_ClientParsePacket(const char *data_in, size_t len_in, char *data_out,
                int clientid = -1, serverid = -1, wantserverid = -1;
                qboolean server_can_auth = true;
                char wantserver_idfp[FP64_SIZE+1];
-               int wantserver_aeslevel;
+               int wantserver_aeslevel = 0;
 
                // if we have a stored host key for the server, assume serverid to already be selected!
                // (the loop will refuse to overwrite this one then)