From c5a2f1570de8cd569c5a1477ffc63b2b16e8dbd9 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 25 Oct 2021 10:05:15 +0300 Subject: [PATCH] Remove superflous endif comments. --- tdutils/td/utils/port/UdpSocketFd.cpp | 2 +- tdutils/test/EpochBasedMemoryReclamation.cpp | 2 +- tdutils/test/HazardPointers.cpp | 2 +- tdutils/test/MpmcQueue.cpp | 4 ++-- tdutils/test/MpmcWaiter.cpp | 2 +- tdutils/test/MpscLinkQueue.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tdutils/td/utils/port/UdpSocketFd.cpp b/tdutils/td/utils/port/UdpSocketFd.cpp index 2c65c459d..f2b2e908a 100644 --- a/tdutils/td/utils/port/UdpSocketFd.cpp +++ b/tdutils/td/utils/port/UdpSocketFd.cpp @@ -35,7 +35,7 @@ #if TD_LINUX #include #endif -#endif // TD_PORT_POSIX +#endif #include #include diff --git a/tdutils/test/EpochBasedMemoryReclamation.cpp b/tdutils/test/EpochBasedMemoryReclamation.cpp index b721d2e19..a98d6b96f 100644 --- a/tdutils/test/EpochBasedMemoryReclamation.cpp +++ b/tdutils/test/EpochBasedMemoryReclamation.cpp @@ -65,4 +65,4 @@ TEST(EpochBaseMemoryReclamation, stress) { } CHECK(ebmr.to_delete_size_unsafe() == 0); } -#endif //!TD_THREAD_UNSUPPORTED +#endif diff --git a/tdutils/test/HazardPointers.cpp b/tdutils/test/HazardPointers.cpp index f18a677f1..d9bc1dbb5 100644 --- a/tdutils/test/HazardPointers.cpp +++ b/tdutils/test/HazardPointers.cpp @@ -57,4 +57,4 @@ TEST(HazardPointers, stress) { } CHECK(hazard_pointers.to_delete_size_unsafe() == 0); } -#endif //!TD_THREAD_UNSUPPORTED +#endif diff --git a/tdutils/test/MpmcQueue.cpp b/tdutils/test/MpmcQueue.cpp index 6cdfb73bb..767979574 100644 --- a/tdutils/test/MpmcQueue.cpp +++ b/tdutils/test/MpmcQueue.cpp @@ -83,7 +83,7 @@ TEST(OneValue, stress) { thread.join(); } } -#endif //!TD_THREAD_UNSUPPORTED +#endif TEST(MpmcQueueBlock, simple) { // Test doesn't work now and it is ok, try_pop, logic changed @@ -204,4 +204,4 @@ TEST(MpmcQueue, multi_thread) { } LOG_CHECK(q.hazard_pointers_to_delele_size_unsafe() == 0) << q.hazard_pointers_to_delele_size_unsafe(); } -#endif //!TD_THREAD_UNSUPPORTED +#endif diff --git a/tdutils/test/MpmcWaiter.cpp b/tdutils/test/MpmcWaiter.cpp index c23c0942a..e2c1be8a6 100644 --- a/tdutils/test/MpmcWaiter.cpp +++ b/tdutils/test/MpmcWaiter.cpp @@ -140,4 +140,4 @@ TEST(MpmcEagerWaiter, stress_multi) { TEST(MpmcSleepyWaiter, stress_multi) { test_waiter_stress(); } -#endif // !TD_THREAD_UNSUPPORTED +#endif diff --git a/tdutils/test/MpscLinkQueue.cpp b/tdutils/test/MpscLinkQueue.cpp index 9c0e3886c..3254ed723 100644 --- a/tdutils/test/MpscLinkQueue.cpp +++ b/tdutils/test/MpscLinkQueue.cpp @@ -113,4 +113,4 @@ TEST(MpscLinkQueue, multi_thread) { thread.join(); } } -#endif //!TD_THREAD_UNSUPPORTED +#endif