summaryrefslogtreecommitdiff
path: root/tubes
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-14 02:51:05 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-15 06:49:23 +0000
commitb4b7703e4335460cf48bfd6440f116359994c8ff (patch)
tree66b6ab43d6fb13d037160d7384d1a7a93d92940b /tubes
parent90d82f73b89d8a0b0b13d224dbd1a741a10a7fd9 (diff)
cppcheck:variableScope
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tubes')
-rw-r--r--tubes/source/file-transfer-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tubes/source/file-transfer-helper.c b/tubes/source/file-transfer-helper.c
index 12a6c0940930..725ebad6c35b 100644
--- a/tubes/source/file-transfer-helper.c
+++ b/tubes/source/file-transfer-helper.c
@@ -629,11 +629,11 @@ tp_file_hash_to_g_checksum (TpFileHashType type)
static void
check_hash_incoming (EmpathyFTHandler *handler)
{
- HashingData *hash_data;
EmpathyFTHandlerPriv *priv = handler->priv;
if (!tp_str_empty (priv->content_hash))
{
+ HashingData *hash_data;
hash_data = g_slice_new0 (HashingData);
hash_data->total_bytes = priv->total_bytes;
hash_data->handler = g_object_ref (handler);