Clean-up: fix '-Wundef' warnings on various platforms
[lttng-tools.git] / tests / unit / test_session.cpp
index 4fc23791e0737f46b45878aa17e8471f2b0d80df..c403e2355c8227598e1c33adb4fbc5db6576b96c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  *
  * SPDX-License-Identifier: GPL-2.0-only
  *
@@ -18,7 +18,6 @@
 #include <common/compat/errno.h>
 #include <bin/lttng-sessiond/session.h>
 #include <bin/lttng-sessiond/ust-app.h>
-#include <bin/lttng-sessiond/ht-cleanup.h>
 #include <bin/lttng-sessiond/health-sessiond.h>
 #include <bin/lttng-sessiond/thread.h>
 #include <common/sessiond-comm/sessiond-comm.h>
@@ -323,16 +322,12 @@ static void test_large_session_number(void)
           MAX_SESSIONS);
 }
 
-int main(int argc, char **argv)
+int main(void)
 {
-       struct lttng_thread *ht_cleanup_thread;
 
        plan_tests(NUM_TESTS);
 
        the_health_sessiond = health_app_create(NR_HEALTH_SESSIOND_TYPES);
-       ht_cleanup_thread = launch_ht_cleanup_thread();
-       LTTNG_ASSERT(ht_cleanup_thread);
-       lttng_thread_put(ht_cleanup_thread);
 
        diag("Sessions unit tests");
 
This page took 0.022841 seconds and 4 git commands to generate.