aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-26 11:50:21 +0100
committerGitHub <noreply@github.com>2022-02-26 11:50:21 +0100
commit5293549d70d68a5337bdf40479d025933d1ea68b (patch)
tree1c4b47be3edd634c5673a844b8a110f4544cd9fb
parentFix use of install_name_tool: rewrote incorrect, non-existing file (diff)
parentRemove unused variables from libkeccak_zerocopy_digest (diff)
downloadlibkeccak-5293549d70d68a5337bdf40479d025933d1ea68b.tar.gz
libkeccak-5293549d70d68a5337bdf40479d025933d1ea68b.tar.bz2
libkeccak-5293549d70d68a5337bdf40479d025933d1ea68b.tar.xz
Merge pull request #18 from oyheskes/remove-unused-variables
Remove unused variables from libkeccak_zerocopy_digest
-rw-r--r--digest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/digest.c b/digest.c
index c7302f6..d625d62 100644
--- a/digest.c
+++ b/digest.c
@@ -462,10 +462,8 @@ libkeccak_zerocopy_digest(struct libkeccak_state *restrict state, void *restrict
size_t bits, const char *restrict suffix, void *restrict hashsum)
{
unsigned char *restrict msg = msg_;
- auto unsigned char *restrict new;
register long int rr = state->r >> 3;
auto size_t suffix_len = suffix ? __builtin_strlen(suffix) : 0;
- register size_t ext;
register long int i;
if (!msg) {