From c34027e2cefc21ca9f77abaa0c5c189dee38c360 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 9 Jul 2017 19:31:25 +0200 Subject: [PATCH] Add missing exit(0) --- bench/bench-glib.c | 1 + bench/bench-klib.c | 1 + bench/bench-libdynamic.c | 1 + bench/bench-mlib.c | 1 + bench/bench-qt.cpp | 1 + bench/bench-stl.cpp | 1 + 6 files changed, 6 insertions(+) diff --git a/bench/bench-glib.c b/bench/bench-glib.c index e1dbb87d..ef74fa0d 100644 --- a/bench/bench-glib.c +++ b/bench/bench-glib.c @@ -204,4 +204,5 @@ int main(int argc, const char *argv[]) test_function("DictB time", 1000000, test_dict_big); if (n == 50) test_function("Sort time", 10000000, test_sort); + exit(0); } diff --git a/bench/bench-klib.c b/bench/bench-klib.c index 214c3d9f..5173c22d 100644 --- a/bench/bench-klib.c +++ b/bench/bench-klib.c @@ -203,5 +203,6 @@ int main(int argc, const char *argv[]) test_function("DictB time", 1000000, test_dict_big); if (n == 50) test_function("Sort time", 10000000, test_sort); + exit(0); } diff --git a/bench/bench-libdynamic.c b/bench/bench-libdynamic.c index a159e40f..6f4dff39 100644 --- a/bench/bench-libdynamic.c +++ b/bench/bench-libdynamic.c @@ -155,4 +155,5 @@ int main(int argc, const char *argv[]) test_function("Dict time", 1000000, test_dict); if (n == 41) test_function("Dict B time", 1000000, test_dict_big); + exit(0); } diff --git a/bench/bench-mlib.c b/bench/bench-mlib.c index bba05f3b..010df9a2 100644 --- a/bench/bench-mlib.c +++ b/bench/bench-mlib.c @@ -282,5 +282,6 @@ int main(int argc, const char *argv[]) test_function("DictS time", 1000000, test_dict_str); if (n == 50) test_function("Sort time", 10000000, test_sort); + exit(0); } diff --git a/bench/bench-qt.cpp b/bench/bench-qt.cpp index 03cbe020..2523aec3 100644 --- a/bench/bench-qt.cpp +++ b/bench/bench-qt.cpp @@ -182,4 +182,5 @@ int main(int argc, const char *argv[]) test_function("DictB time", 1000000, test_dict_big); if (n == 50) test_function("Sort time", 10000000, test_sort); + exit(0); } diff --git a/bench/bench-stl.cpp b/bench/bench-stl.cpp index e3ab3fc7..8145691f 100644 --- a/bench/bench-stl.cpp +++ b/bench/bench-stl.cpp @@ -234,4 +234,5 @@ int main(int argc, const char *argv[]) test_function("DictS(m) time", 1000000, test_dict_str2); if (n == 50) test_function("Sort time", 10000000, test_sort); + exit(0); }