--- a/loudmouth/lm-asyncns-resolver.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-asyncns-resolver.c Sun Dec 04 13:57:00 2011 +0100
@@ -73,17 +73,13 @@
static void
lm_asyncns_resolver_init (LmAsyncnsResolver *asyncns_resolver)
{
- LmAsyncnsResolverPriv *priv;
-
- priv = GET_PRIV (asyncns_resolver);
+ (void) GET_PRIV (asyncns_resolver);
}
static void
asyncns_resolver_finalize (GObject *object)
{
- LmAsyncnsResolverPriv *priv;
-
- priv = GET_PRIV (object);
+ (void) GET_PRIV (object);
(G_OBJECT_CLASS (lm_asyncns_resolver_parent_class)->finalize) (object);
}
--- a/loudmouth/lm-blocking-resolver.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-blocking-resolver.c Sun Dec 04 13:57:00 2011 +0100
@@ -70,17 +70,13 @@
static void
lm_blocking_resolver_init (LmBlockingResolver *blocking_resolver)
{
- LmBlockingResolverPriv *priv;
-
- priv = GET_PRIV (blocking_resolver);
+ (void) GET_PRIV (blocking_resolver);
}
static void
blocking_resolver_finalize (GObject *object)
{
- LmBlockingResolverPriv *priv;
-
- priv = GET_PRIV (object);
+ (void) GET_PRIV (object);
/* Ensure we don't have an idle around */
blocking_resolver_cancel (LM_RESOLVER (object));
--- a/loudmouth/lm-connection.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-connection.c Sun Dec 04 13:57:00 2011 +0100
@@ -646,7 +646,6 @@
LmMessage *auth_msg;
LmMessageHandler *auth_handler;
LmAuthParameters *auth_params = (LmAuthParameters *) user_data;
- gboolean result;
auth_type = connection_check_auth_type (m);
@@ -654,8 +653,8 @@
auth_handler = lm_message_handler_new (connection_auth_reply,
NULL, NULL);
- result = lm_connection_send_with_reply (connection, auth_msg,
- auth_handler, NULL);
+ lm_connection_send_with_reply (connection, auth_msg,
+ auth_handler, NULL);
lm_message_handler_unref (auth_handler);
lm_message_unref (auth_msg);
--- a/loudmouth/lm-dummy.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-dummy.c Sun Dec 04 13:57:00 2011 +0100
@@ -87,18 +87,13 @@
static void
lm_dummy_init (LmDummy *dummy)
{
- LmDummyPriv *priv;
-
- priv = GET_PRIV (dummy);
-
+ (void) GET_PRIV (dummy);
}
static void
dummy_finalize (GObject *object)
{
- LmDummyPriv *priv;
-
- priv = GET_PRIV (object);
+ (void) GET_PRIV (object);
(G_OBJECT_CLASS (lm_dummy_parent_class)->finalize) (object);
}
--- a/loudmouth/lm-feature-ping.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-feature-ping.c Sun Dec 04 13:57:00 2011 +0100
@@ -112,18 +112,13 @@
static void
lm_feature_ping_init (LmFeaturePing *feature_ping)
{
- LmFeaturePingPriv *priv;
-
- priv = GET_PRIV (feature_ping);
-
+ (void) GET_PRIV (feature_ping);
}
static void
feature_ping_finalize (GObject *object)
{
- LmFeaturePingPriv *priv;
-
- priv = GET_PRIV (object);
+ (void) GET_PRIV (object);
(G_OBJECT_CLASS (lm_feature_ping_parent_class)->finalize) (object);
}
--- a/loudmouth/lm-old-socket.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-old-socket.c Sun Dec 04 13:57:00 2011 +0100
@@ -509,14 +509,14 @@
LmConnectData *connect_data)
{
LmOldSocket *socket;
- struct addrinfo *addr;
+ /* struct addrinfo *addr; */
int err;
socklen_t len;
LmOldSocketT fd;
gboolean result = FALSE;
socket = lm_old_socket_ref (connect_data->socket);
- addr = connect_data->current_addr;
+ /* addr = connect_data->current_addr; */
fd = g_io_channel_unix_get_fd (source);
if (condition == G_IO_ERR) {
--- a/loudmouth/lm-resolver.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-resolver.c Sun Dec 04 13:57:00 2011 +0100
@@ -159,9 +159,7 @@
static void
lm_resolver_init (LmResolver *resolver)
{
- LmResolverPriv *priv;
-
- priv = GET_PRIV (resolver);
+ (void) GET_PRIV (resolver);
}
static void
@@ -479,14 +477,15 @@
/* Parse the answers */
while (ancount-- > 0 && (len = dn_expand (srv, end, pos, name, 255)) >= 0) {
/* Ignore the initial string */
- uint16_t pref, weight, port;
+ uint16_t pref, port;
+ /* uint16_t weight; */
g_assert (len >= 0);
pos += len;
/* Ignore type, ttl, class and dlen */
pos += 10;
GETSHORT (pref, pos);
- GETSHORT (weight, pos);
+ /* GETSHORT (weight, pos); */
GETSHORT (port, pos);
len = dn_expand (srv, end, pos, name, 255);
--- a/loudmouth/lm-sasl.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-sasl.c Sun Dec 04 13:57:00 2011 +0100
@@ -381,15 +381,17 @@
static gboolean
sasl_gssapi_finish (LmSASL *sasl, LmMessageNode *node)
{
- OM_uint32 major_status, minor_status;
+ OM_uint32 /* major_status, */ minor_status;
if (sasl->gss_service != GSS_C_NO_NAME) {
- major_status = gss_release_name (&minor_status, &sasl->gss_service);
+ /* major_status = */
+ (void) gss_release_name (&minor_status, &sasl->gss_service);
}
if (sasl->gss_ctx != GSS_C_NO_CONTEXT) {
- major_status = gss_delete_sec_context (&minor_status, &sasl->gss_ctx,
- GSS_C_NO_BUFFER);
+ /* major_status = */
+ (void) gss_delete_sec_context (&minor_status, &sasl->gss_ctx,
+ GSS_C_NO_BUFFER);
}
return TRUE;
--- a/loudmouth/lm-simple-io.c Thu Oct 13 10:43:54 2011 +0200
+++ b/loudmouth/lm-simple-io.c Sun Dec 04 13:57:00 2011 +0100
@@ -79,17 +79,13 @@
static void
lm_simple_io_init (LmSimpleIO *simple_io)
{
- LmSimpleIOPriv *priv;
-
- priv = GET_PRIV (simple_io);
+ (void) GET_PRIV (simple_io);
}
static void
simple_io_finalize (GObject *object)
{
- LmSimpleIOPriv *priv;
-
- priv = GET_PRIV (object);
+ (void) GET_PRIV (object);
(G_OBJECT_CLASS (lm_simple_io_parent_class)->finalize) (object);
}