[gtk-vnc] Remove bogus check for 'conn' being null in vnc_connection_is_open



commit fa9c41675f1803bd2b39fe3822a53e0df39aac61
Author: Daniel P. Berrange <berrange redhat com>
Date:   Fri Dec 7 15:41:55 2012 +0000

    Remove bogus check for 'conn' being null in vnc_connection_is_open

 src/vncconnection.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 3cac1dc..4b25a96 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -4851,9 +4851,6 @@ gboolean vnc_connection_is_open(VncConnection *conn)
 {
     VncConnectionPrivate *priv = conn->priv;
 
-    if (!conn)
-        return FALSE;
-
     if (priv->fd != -1)
         return TRUE;
     if (priv->sock != NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]