1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Remove unused variables

This commit is contained in:
Frank Denis 2018-12-29 16:42:09 +01:00
parent b1b031106c
commit cff3d7f6c7
4 changed files with 1 additions and 8 deletions

View File

@ -125,8 +125,6 @@ sodium_crit_enter(void)
int
sodium_crit_leave(void)
{
int ret;
if (locked == 0) {
# ifdef EPERM
errno = EPERM;

View File

@ -189,9 +189,7 @@ tv(void)
unsigned char *message;
unsigned char *mac;
unsigned char *nonce;
char * hex;
size_t ad_len;
size_t ciphertext_len;
size_t detached_ciphertext_len;
size_t message_len;
unsigned int i;

View File

@ -954,9 +954,7 @@ tv(void)
unsigned char *message;
unsigned char *mac;
unsigned char *nonce;
char * hex;
size_t ad_len;
size_t ciphertext_len;
size_t detached_ciphertext_len;
size_t message_len;
unsigned int i;

View File

@ -11,11 +11,10 @@ main(void)
char *b64_;
const char *b64_end;
unsigned char *bin;
unsigned char *bin_padded;
const char *hex;
const char *hex_end;
size_t b64_len;
size_t bin_len, bin_len2;
size_t bin_len;
unsigned int i;
printf("%s\n",