Skip to content

Commit

Permalink
iox-#2284 Fix implicit conversion warning on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Apr 25, 2024
1 parent e27d98f commit dd485f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions iceoryx_dds/source/gateway/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class ShutdownManager
public:
static void scheduleShutdown(int num)
{
char reason;
psignal(num, &reason);
s_semaphore.post().or_else([](auto) {
std::cerr << "failed to call post on shutdown semaphore" << std::endl;
std::terminate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,4 @@

#include <signal.h>

inline void psignal(int sig, const char* s)
{
psignal(static_cast<unsigned int>(sig), s);
}

#endif // IOX_HOOFS_MAC_PLATFORM_SIGNAL_HPP

0 comments on commit dd485f1

Please sign in to comment.