diff options
author | David Robillard <d@drobilla.net> | 2024-07-17 09:14:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-17 09:14:27 -0400 |
commit | 92332dce5506c8532775ea8644bb11999c64b1ba (patch) | |
tree | 9af8db39051d4bb921c39b72a39b41fd85e0231d | |
parent | 67229a07bf970297469e2148b3ffe8305690defe (diff) | |
download | patchage-92332dce5506c8532775ea8644bb11999c64b1ba.tar.gz patchage-92332dce5506c8532775ea8644bb11999c64b1ba.tar.bz2 patchage-92332dce5506c8532775ea8644bb11999c64b1ba.zip |
Remove unused local variable
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/Configuration.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index 8aa48ac..8c5165e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -17,7 +17,6 @@ Checks: > -bugprone-assignment-in-if-condition, -bugprone-easily-swappable-parameters, -bugprone-multi-level-implicit-pointer-conversion, - -bugprone-unused-local-non-trivial-variable, -cert-dcl21-cpp, -cert-dcl50-cpp, -cert-msc30-c, diff --git a/src/Configuration.cpp b/src/Configuration.cpp index d434aeb..814660d 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -27,7 +27,6 @@ std::vector<std::string> get_filenames() { std::vector<std::string> filenames; - const std::string prefix; const char* xdg_config_home = getenv("XDG_CONFIG_HOME"); const char* home = getenv("HOME"); |