mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Remove unused variables
This commit is contained in:
parent
b1b031106c
commit
cff3d7f6c7
@ -125,8 +125,6 @@ sodium_crit_enter(void)
|
|||||||
int
|
int
|
||||||
sodium_crit_leave(void)
|
sodium_crit_leave(void)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (locked == 0) {
|
if (locked == 0) {
|
||||||
# ifdef EPERM
|
# ifdef EPERM
|
||||||
errno = EPERM;
|
errno = EPERM;
|
||||||
|
@ -189,9 +189,7 @@ tv(void)
|
|||||||
unsigned char *message;
|
unsigned char *message;
|
||||||
unsigned char *mac;
|
unsigned char *mac;
|
||||||
unsigned char *nonce;
|
unsigned char *nonce;
|
||||||
char * hex;
|
|
||||||
size_t ad_len;
|
size_t ad_len;
|
||||||
size_t ciphertext_len;
|
|
||||||
size_t detached_ciphertext_len;
|
size_t detached_ciphertext_len;
|
||||||
size_t message_len;
|
size_t message_len;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
@ -954,9 +954,7 @@ tv(void)
|
|||||||
unsigned char *message;
|
unsigned char *message;
|
||||||
unsigned char *mac;
|
unsigned char *mac;
|
||||||
unsigned char *nonce;
|
unsigned char *nonce;
|
||||||
char * hex;
|
|
||||||
size_t ad_len;
|
size_t ad_len;
|
||||||
size_t ciphertext_len;
|
|
||||||
size_t detached_ciphertext_len;
|
size_t detached_ciphertext_len;
|
||||||
size_t message_len;
|
size_t message_len;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
@ -11,11 +11,10 @@ main(void)
|
|||||||
char *b64_;
|
char *b64_;
|
||||||
const char *b64_end;
|
const char *b64_end;
|
||||||
unsigned char *bin;
|
unsigned char *bin;
|
||||||
unsigned char *bin_padded;
|
|
||||||
const char *hex;
|
const char *hex;
|
||||||
const char *hex_end;
|
const char *hex_end;
|
||||||
size_t b64_len;
|
size_t b64_len;
|
||||||
size_t bin_len, bin_len2;
|
size_t bin_len;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
printf("%s\n",
|
printf("%s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user