Эх сурвалжийг харах

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

ambrop7 13 жил өмнө
parent
commit
9ffa769921

+ 1 - 1
examples/bencryption_bench.c

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