From 03a692c88fd086d8bb2ad3fa4dbddb898bfd9bff Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 25 Sep 2022 18:55:41 +0200 Subject: Fix failing cppcheck fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/58 --- tests/unit/adbd-client-test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/unit/adbd-client-test.cpp') diff --git a/tests/unit/adbd-client-test.cpp b/tests/unit/adbd-client-test.cpp index b9e7a49..8e318d4 100644 --- a/tests/unit/adbd-client-test.cpp +++ b/tests/unit/adbd-client-test.cpp @@ -1,5 +1,6 @@ /* * Copyright 2016 Canonical Ltd. + * Copyright 2022 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +16,7 @@ * * Authors: * Charles Kerr + * Robert Tari */ #include @@ -56,7 +58,7 @@ TEST_F(AdbdClientFixture, SocketPlumbing) const std::string expected_pk; AdbdClient::PKResponse response; const std::string expected_response; - } tests[] = { + } const tests[] = { { "PKHelloWorld", "HelloWorld", AdbdClient::PKResponse::ALLOW, "OK" }, { "PKHelloWorld", "HelloWorld", AdbdClient::PKResponse::DENY, "NO" }, { "PKFooBar", "FooBar", AdbdClient::PKResponse::ALLOW, "OK" }, -- cgit v1.2.3