diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-04-21 17:17:30 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-04-21 18:04:24 +0100 |
commit | 2aeaa8fe2dbc967063bcbb6a12535872a49d5fc1 (patch) | |
tree | 3a46eb9adfe448445244322fd781e628cf98f36e /telepathy-glib/base-protocol.c | |
parent | eefcf8ad035a5880688f73cdde829690e9d4afc7 (diff) | |
download | telepathy-glib-2aeaa8fe2dbc967063bcbb6a12535872a49d5fc1.tar.gz |
BaseProtocol: don't debug for unspecified parameters
If MC didn't specify a value for a connection parameter, then of course
either the default value, or no value, will be used. This change
accounts for over 4% by size of the debug output from running the Gabble
test suite!
Diffstat (limited to 'telepathy-glib/base-protocol.c')
-rw-r--r-- | telepathy-glib/base-protocol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/telepathy-glib/base-protocol.c b/telepathy-glib/base-protocol.c index 720cedebc..0204caa7d 100644 --- a/telepathy-glib/base-protocol.c +++ b/telepathy-glib/base-protocol.c @@ -1442,12 +1442,11 @@ tp_base_protocol_sanitize_parameters (TpBaseProtocol *self, { GValue *value = param_default_value (parameters + i); - DEBUG ("using default value for %s", name); g_hash_table_insert (combined, g_strdup (name), value); } else { - DEBUG ("no default value for %s", name); + /* no default */ } } |