diff options
author | Karel Zak | 2011-08-01 14:57:05 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-01 15:27:26 +0200 |
commit | 6301d23a656a38d31a47bfac856124935fd70c30 (patch) | |
tree | a1b98bbeb17cf55406ce2c5e35c1d45e86451e5d /tests/helpers | |
parent | swaplabel: fix compiler warnings [-Wunused-parameter] (diff) | |
download | kernel-qcow2-util-linux-6301d23a656a38d31a47bfac856124935fd70c30.tar.gz kernel-qcow2-util-linux-6301d23a656a38d31a47bfac856124935fd70c30.tar.xz kernel-qcow2-util-linux-6301d23a656a38d31a47bfac856124935fd70c30.zip |
tests: fix compiler warnings [-Wunused-parameter]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/helpers')
-rw-r--r-- | tests/helpers/test_byteswap.c | 2 | ||||
-rw-r--r-- | tests/helpers/test_md5.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/helpers/test_byteswap.c b/tests/helpers/test_byteswap.c index 3932d5a13..7467ed270 100644 --- a/tests/helpers/test_byteswap.c +++ b/tests/helpers/test_byteswap.c @@ -48,7 +48,7 @@ uint64_t ary64[] = { 0x0000000000000000, 0x0000000000000000 }; -int main(int argc, char **argv) +int main() { int i; int errors = 0; diff --git a/tests/helpers/test_md5.c b/tests/helpers/test_md5.c index 7f1e4f358..0f37afdc0 100644 --- a/tests/helpers/test_md5.c +++ b/tests/helpers/test_md5.c @@ -4,8 +4,7 @@ #include "md5.h" -int -main(int argc, char *argv[]) +int main() { int i, ret; struct MD5Context ctx; |