[SCM] kodi-pvr-vdr-vnsi/master: VNSISession: simplify IsOpen()
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:49 UTC 2016
The following commit has been merged in the master branch:
commit 0b0137900b873eea94c5eecf09a9e09fe25381e5
Author: Max Kellermann <max at duempel.org>
Date: Thu Nov 5 10:59:01 2015 +0100
VNSISession: simplify IsOpen()
diff --git a/src/VNSISession.cpp b/src/VNSISession.cpp
index ea33677..0111bd1 100644
--- a/src/VNSISession.cpp
+++ b/src/VNSISession.cpp
@@ -366,10 +366,7 @@ bool cVNSISession::TryReconnect() {
bool cVNSISession::IsOpen()
{
- bool bReturn(false);
- if (m_socket && m_socket->IsOpen())
- bReturn = true;
- return bReturn;
+ return m_socket && m_socket->IsOpen();
}
void cVNSISession::SignalConnectionLost()
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list