[telepathy-gabble/master] GabbleConnectionManager: remove unused, uninitialized priv pointer

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Nov 11 10:44:53 PST 2009


There is actually no such structure as GabbleConnectionManagerPrivate,
but having an uninitialized pointer is clearly a trap.
---
 src/connection-manager.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/connection-manager.h b/src/connection-manager.h
index 4ef7735..89a5f50 100644
--- a/src/connection-manager.h
+++ b/src/connection-manager.h
@@ -36,8 +36,6 @@ struct _GabbleConnectionManagerClass {
 
 struct _GabbleConnectionManager {
     TpBaseConnectionManager parent;
-
-    GabbleConnectionManagerPrivate *priv;
 };
 
 GType gabble_connection_manager_get_type (void);
-- 
1.5.6.5




More information about the telepathy-commits mailing list