Ver Fonte

examples/bencryption_bench.c: silence a bad warning from clang

ambrop7 há 13 anos atrás
pai
commit
9ffa769921
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/bencryption_bench.c

+ 1 - 1
examples/bencryption_bench.c

@@ -63,7 +63,7 @@ int main (int argc, char **argv)
     char *cipher_str = argv[2];
     
     int mode;
-    int cipher;
+    int cipher = 0; // silence warning
     int num_blocks = atoi(argv[3]);
     int num_ops = atoi(argv[4]);