From 9ee71568900e01931caefb181cc7c47d0c31f59b Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 13 Jan 2024 11:51:49 +0100 Subject: [PATCH] Fix warning. --- sfw/core/socket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sfw/core/socket.cpp b/sfw/core/socket.cpp index e3986dc..0d5af4a 100755 --- a/sfw/core/socket.cpp +++ b/sfw/core/socket.cpp @@ -158,6 +158,8 @@ int Socket::bind_address(const InetAddress &address) { return errno; #endif } + + return ret; } int Socket::listen() {