Skip to content

Commit a43c440

Browse files
committed
Fix valgrind error
Signed-off-by: Rafi Wiener <[email protected]>
1 parent 75fd6e2 commit a43c440

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/nixl_agent.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ nixlAgentData::nixlAgentData(const std::string &name,
9191
useEtcd = false;
9292
NIXL_DEBUG << "NIXL ETCD is disabled";
9393
}
94+
#else
95+
useEtcd = false;
9496
#endif // HAVE_ETCD
9597
if (name.empty())
9698
throw std::invalid_argument("Agent needs a name");

0 commit comments

Comments
 (0)