Merge pull request #14 from altendky/avoid_unused_variable_fails_warnings
Avoid unused variable fails warningsmain
commit
211f8f763f
5
test.c
5
test.c
|
@ -46,7 +46,9 @@ size_t lengths[4] = {8, 16, 4, 8};
|
||||||
int main() {
|
int main() {
|
||||||
uint8_t in[64], out[16], k[16];
|
uint8_t in[64], out[16], k[16];
|
||||||
int i;
|
int i;
|
||||||
|
#ifndef GETVECTORS
|
||||||
int fails = 0;
|
int fails = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < 16; ++i)
|
for (i = 0; i < 16; ++i)
|
||||||
k[i] = i;
|
k[i] = i;
|
||||||
|
@ -98,8 +100,9 @@ int main() {
|
||||||
#else
|
#else
|
||||||
if (!fails)
|
if (!fails)
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
#endif
|
|
||||||
fails = 0;
|
fails = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue