From f696e54c767f4971f81237f8e4234289aa3c1b01 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 9 Dec 2021 12:00:39 +0100 Subject: Fix cppcheck warnings --- tests/volume-control-test.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/volume-control-test.cc') diff --git a/tests/volume-control-test.cc b/tests/volume-control-test.cc index f25048b..36fa05e 100644 --- a/tests/volume-control-test.cc +++ b/tests/volume-control-test.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 + * Robert Tari */ #include @@ -62,8 +64,8 @@ class VolumeControlTest : public ::testing::Test } static gboolean timeout_cb (gpointer user_data) { - GMainLoop * loop = static_cast(user_data); - g_main_loop_quit(loop); + GMainLoop * pLoop = static_cast(user_data); + g_main_loop_quit(pLoop); return G_SOURCE_REMOVE; } -- cgit v1.2.3