aboutsummaryrefslogtreecommitdiff
path: root/tests/accounts-service-user.cc
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-09 12:00:39 +0100
committerRobert Tari <robert@tari.in>2021-12-09 12:03:07 +0100
commitf696e54c767f4971f81237f8e4234289aa3c1b01 (patch)
tree6e48a65257a071273e7f30b4098aa807e04bc13f /tests/accounts-service-user.cc
parent09dde5270d94be7ec55a4ede3ca4007be097b343 (diff)
downloadayatana-indicator-sound-f696e54c767f4971f81237f8e4234289aa3c1b01.tar.gz
ayatana-indicator-sound-f696e54c767f4971f81237f8e4234289aa3c1b01.tar.bz2
ayatana-indicator-sound-f696e54c767f4971f81237f8e4234289aa3c1b01.zip
Fix cppcheck warnings
Diffstat (limited to 'tests/accounts-service-user.cc')
-rw-r--r--tests/accounts-service-user.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/accounts-service-user.cc b/tests/accounts-service-user.cc
index 3460fd6..77c55ca 100644
--- a/tests/accounts-service-user.cc
+++ b/tests/accounts-service-user.cc
@@ -1,5 +1,6 @@
/*
* Copyright 2014 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,6 +16,7 @@
*
* Authors:
* Ted Gould <ted@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <gtest/gtest.h>
@@ -92,8 +94,8 @@ class AccountsServiceUserTest : public ::testing::Test
}
static gboolean timeout_cb (gpointer user_data) {
- GMainLoop * loop = static_cast<GMainLoop *>(user_data);
- g_main_loop_quit(loop);
+ GMainLoop * pLoop = static_cast<GMainLoop *>(user_data);
+ g_main_loop_quit(pLoop);
return G_SOURCE_REMOVE;
}