From a107c4701be8c1589657b36fd37545926af32b03 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Fri, 27 Dec 2024 22:31:51 +0200 Subject: [PATCH] clang format fix --- src/common/config.cpp | 2 +- src/common/config.h | 1 - src/core/crypto/crypto.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/config.cpp b/src/common/config.cpp index 0faf79b4b..87af0b24c 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -67,7 +67,7 @@ static int cursorHideTimeout = 5; // 5 seconds (default) static bool separateupdatefolder = false; static bool compatibilityData = false; static bool checkCompatibilityOnStartup = false; -std::string trophyKey = ""; +static std::string trophyKey = ""; static std::string audioBackend = "cubeb"; // Gui diff --git a/src/common/config.h b/src/common/config.h index a7be2136b..937efafab 100644 --- a/src/common/config.h +++ b/src/common/config.h @@ -13,7 +13,6 @@ enum HideCursorState : s16 { Never, Idle, Always }; void load(const std::filesystem::path& path); void save(const std::filesystem::path& path); -void saveMainWindow(const std::filesystem::path& path); std::string getTrophyKey(); void setTrophyKey(std::string key); diff --git a/src/core/crypto/crypto.cpp b/src/core/crypto/crypto.cpp index 357b43622..472d284fc 100644 --- a/src/core/crypto/crypto.cpp +++ b/src/core/crypto/crypto.cpp @@ -2,8 +2,8 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include -#include "crypto.h" #include +#include "crypto.h" CryptoPP::RSA::PrivateKey Crypto::key_pkg_derived_key3_keyset_init() { CryptoPP::InvertibleRSAFunction params;