We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b62a6e2 commit ec42c81Copy full SHA for ec42c81
rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp
@@ -96,7 +96,7 @@ class rmw_context_impl_s::Data final
96
throw std::runtime_error("Error setting up zenoh session. ");
97
}
98
99
- rmw_ret_t ret;
+ rmw_ret_t ret = RMW_RET_ERROR;
100
101
// Verify if the zenoh router is running if configured.
102
const std::optional<uint64_t> configured_connection_attempts =
rmw_zenoh_cpp/src/zenohd/main.cpp
@@ -17,16 +17,15 @@
17
#include <mutex>
18
#include <stdexcept>
19
20
+#include <zenoh.hxx>
21
+#include <zenoh/api/session.hxx>
22
+
23
#ifdef _WIN32
24
#include <windows.h>
25
#else
26
#include <signal.h>
27
#endif
28
-
-#include <zenoh.hxx>
-#include <zenoh/api/session.hxx>
29
30
#include "../detail/zenoh_config.hpp"
31
32
#include "rmw/error_handling.h"
0 commit comments