From 85347172c619c360392b28dee47e0041541d4d32 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 10 Nov 2025 16:15:31 +0100 Subject: [PATCH] fix clang warning missing-braces ../fdManagerTest.cpp:76:29: warning: suggest braces around initialization of subobject [-Wmissing-braces] 76 | osiSockAddr addr = {0}; | ^ | {} --- modules/libcom/test/fdManagerTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/test/fdManagerTest.cpp b/modules/libcom/test/fdManagerTest.cpp index ae9f5f79b..6b868c65d 100644 --- a/modules/libcom/test/fdManagerTest.cpp +++ b/modules/libcom/test/fdManagerTest.cpp @@ -73,7 +73,7 @@ public: } osiSockAddr bind() { - osiSockAddr addr = {0}; + osiSockAddr addr = {{0}}; addr.ia.sin_family = AF_INET; addr.ia.sin_addr.s_addr = htonl(INADDR_LOOPBACK);