diff --git a/hash/cpu/bench/Poseidon2/Zikkurat/poseidon2.c b/hash/cpu/bench/Poseidon2/Zikkurat/poseidon2.c index 75cd78e..0d11652 100644 --- a/hash/cpu/bench/Poseidon2/Zikkurat/poseidon2.c +++ b/hash/cpu/bench/Poseidon2/Zikkurat/poseidon2.c @@ -396,13 +396,6 @@ int main( int argc, char *argv[] ) { switch(argc) { - case 1: - printf("usage:\n"); - printf("$ poseidon2 :\n"); - printf("$ poseidon2 :\n"); - exit(-1); - break; - case 2: mtDepth = atoi(argv[1]); break; @@ -411,6 +404,13 @@ int main( int argc, char *argv[] ) { mtDepth = atoi(argv[1]); nThreads = atoi(argv[2]); break; + + default: + printf("usage:\n"); + printf("$ poseidon2 :\n"); + printf("$ poseidon2 :\n"); + exit(-1); + break; } printf("calculating Poseidon2 Merkle root with depth=%d on %d threads...\n",mtDepth,nThreads);