diff options
author | Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> | 2019-09-10 07:55:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 07:55:58 +0200 |
commit | 211f8f763f3e9525dccb710abb551b6fd88bcc17 (patch) | |
tree | 3b4208c747cec4314df4e0cfaa912eb023e35cc1 | |
parent | d/experimental (diff) | |
parent | Remove unneded #ifndef GETVECTORS check (diff) | |
download | siphash-211f8f763f3e9525dccb710abb551b6fd88bcc17.tar.gz siphash-211f8f763f3e9525dccb710abb551b6fd88bcc17.tar.xz |
Merge pull request #14 from altendky/avoid_unused_variable_fails_warnings
Avoid unused variable fails warnings
-rw-r--r-- | test.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -46,7 +46,9 @@ size_t lengths[4] = {8, 16, 4, 8}; int main() { uint8_t in[64], out[16], k[16]; int i; +#ifndef GETVECTORS int fails = 0; +#endif for (i = 0; i < 16; ++i) k[i] = i; @@ -98,8 +100,9 @@ int main() { #else if (!fails) printf("OK\n"); -#endif + fails = 0; +#endif } return 0; |