summaryrefslogtreecommitdiff
path: root/Kernel/Net/LocalSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/LocalSocket.cpp')
-rw-r--r--Kernel/Net/LocalSocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Net/LocalSocket.cpp b/Kernel/Net/LocalSocket.cpp
index c37dc72382..28ab02439f 100644
--- a/Kernel/Net/LocalSocket.cpp
+++ b/Kernel/Net/LocalSocket.cpp
@@ -113,6 +113,8 @@ void LocalSocket::attach(FileDescriptor& descriptor)
case SocketRole::Connecting:
++m_connecting_fds_open;
break;
+ default:
+ break;
}
}
@@ -131,6 +133,8 @@ void LocalSocket::detach(FileDescriptor& descriptor)
ASSERT(m_connecting_fds_open);
--m_connecting_fds_open;
break;
+ default:
+ break;
}
}