summaryrefslogtreecommitdiff
path: root/tubes/source/file-transfer-helper.c
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-03-26 22:03:55 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:40:01 +0200
commit257bf1f2572d482c291f2f3e60c55be8fea5894b (patch)
tree7b02f3f11cc87a27a25a093901d71a9a45720f12 /tubes/source/file-transfer-helper.c
parent4a758fc56f2491c911f035bbe86c9b50fd69436a (diff)
silence WaE unused-parameter
Diffstat (limited to 'tubes/source/file-transfer-helper.c')
-rw-r--r--tubes/source/file-transfer-helper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tubes/source/file-transfer-helper.c b/tubes/source/file-transfer-helper.c
index 8ee092eaeaf4..107f103d9e6d 100644
--- a/tubes/source/file-transfer-helper.c
+++ b/tubes/source/file-transfer-helper.c
@@ -709,6 +709,8 @@ ft_transfer_transferred_bytes_cb (TpFileTransferChannel *channel,
EmpathyFTHandlerPriv *priv = handler->priv;
guint64 bytes;
+ (void)pspec; /* suppress unused-parameter warning */
+
if (empathy_ft_handler_is_cancelled (handler))
return;
@@ -811,6 +813,8 @@ ft_transfer_state_cb (TpFileTransferChannel *channel,
TpFileTransferState state = tp_file_transfer_channel_get_state (
channel, &reason);
+ (void)pspec; /* suppress unused-parameter warning */
+
if (state == TP_FILE_TRANSFER_STATE_COMPLETED)
{
priv->is_completed = TRUE;
@@ -1091,6 +1095,8 @@ ft_handler_read_async_cb (GObject *source,
EmpathyFTHandler *handler = user_data;
EmpathyFTHandlerPriv *priv = handler->priv;
+ (void)source; /* suppress unused-parameter warning */
+
DEBUG ("GFile read async CB.");
stream = g_file_read_finish (priv->gfile, res, &error);
@@ -1293,6 +1299,8 @@ ft_handler_gfile_ready_cb (GObject *source,
GTimeVal mtime;
EmpathyFTHandlerPriv *priv = cb_data->handler->priv;
+ (void)source; /* suppress unused-parameter warning */
+
DEBUG ("Got GFileInfo.");
info = g_file_query_info_finish (priv->gfile, res, &error);